20,741
edits
Line 566: | Line 566: | ||
var type = r('APT'); | var type = r('APT'); | ||
var style_apt = { | var style_apt = { | ||
scale_factor:0.5, | scale_factor:0.5, # 50 % | ||
color_default:[0,1,0.9], | color_default:[0,1,0.9], # rgb | ||
line_width:4, | line_width:4, # thickness | ||
label_font_color:[0,1,0.9], | label_font_color:[0,1,0.9], # rgb | ||
label_font_size:30 | label_font_size:30 # font size | ||
}; | }; | ||
TestMap.addLayer(factory: canvas.SymbolLayer, type_arg: type.name, visible: type.vis, priority: type.zindex,style:style_apt); | TestMap.addLayer(factory: canvas.SymbolLayer, type_arg: type.name, visible: type.vis, priority: type.zindex,style:style_apt); |