我试图弄清楚如何用fillcolor: red和绘制线串outline: black。像下图:
fillcolor: red
outline: black
style = { fillColor: 'rgb(255,0,0)', outline: 'rgb(0,0,0)' weight: 10 };
它不起作用,也许我需要使用strokeStyle?
任何帮助将不胜感激。
javascript line draw leaflet mapbox
draw ×1
javascript ×1
leaflet ×1
line ×1
mapbox ×1