警戒线坐标调集:
var lineArr24=[[127,34],[127,21],[110,15]];//24小时警戒线坐标调集 var lineArr48=[[132,34],[132,15],[105,0]];//48小时警戒线调集
线标记样式SimpleLineSymbol:
var symbol24 = new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,0,0]), 1); var symbol48 = new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASHDOTDOT, new dojo.Color([255,255,153]), 1);
台风操纵面板台风路径标记
点标记PictureMarkerSymbol
var TFQ_Symbol=new esri.symbol.PictureMarkerSymbol(getRootPath()+‘content/images/weather/typhoon.png‘, 40, 40)
线标记SimpleLineSymbol:
var T_Symbol=new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID,
new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID,
new dojo.Color([255, 165, 0]), 0.01), new dojo.Color([255,20,147, 0.35]));
var Line_symbol= new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASHDOTDOT, new dojo.Color([255,215,0]), 1);
arcgis api for js入门开发系列十五台风轨迹
,