Canvas snippets: Difference between revisions

Jump to navigation Jump to search
Line 576: Line 576:
var type = r('VOR');
var type = r('VOR');
var style_vor = {
var style_vor = {
     scale_factor:0.5,
     scale_factor:0.6,
     color:[0.1,0.9,0],
     active_color:[1,0,0],
    inactive_color:[0,1,0],
     line_width:4,
     line_width:4,
    text_color:[0.1,0.9,0]
};
};
TestMap.addLayer(factory: canvas.SymbolLayer, type_arg: type.name, visible: type.vis, priority: type.zindex,style:style_vor);
TestMap.addLayer(factory: canvas.SymbolLayer, type_arg: type.name, visible: type.vis, priority: type.zindex,style:style_vor);
29

edits

Navigation menu