当前位置:和仁网 >内容 > 正文

raphael polyline chinamapconfig 划线怎么用

2020-10-26 0

<pre t="code" l="js">var polyline = new esri.geometry.Polyline([[xxx,xxx],[xxx,xxx]]);
var symbol = new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,255,0]), 2);
var graphic = new esri.Graphic(polyline, symbol);
map.graphics.add(graphic);
本周热门
本月热门