flex河流断面高亮闪烁
发布时间:2020-12-15 03:35:14 所属栏目:百科 来源:网络整理
导读:private var hbGraphicsLayer:GraphicsLayer=new GraphicsLayer();//告警图层//===============================河流预警==================================hbGraphicsLayer.clear();hbGraphicsLayer.spatialReference=new SpatialReference(102100);hbquer
private var hbGraphicsLayer:GraphicsLayer=new GraphicsLayer();//告警图层 //===============================河流预警================================== hbGraphicsLayer.clear(); hbGraphicsLayer.spatialReference=new SpatialReference(102100); hbqueryTask.url="http://IP:6080/arcgis/rest/services/AnhuiMapZT/MapServer/2"; hbquery.where = "ENNM like '%池河%' or ENNM like '%清流%'"; hbquery.returnGeometry=true; var fields:Array=new Array(); fields.push("FID"); fields.push("ENNM"); hbquery.outFields=fields; hbqueryTask.execute(hbquery,new AsyncResponder(onResult,onFault1)); hbqueryTask.url="http://IP:6080/arcgis/rest/services/AnhuiMapZT/MapServer/5"; hbquery.where = "ENNM like '%花凉%'"; hbquery.returnGeometry=true; hbquery.outFields=fields; hbqueryTask.execute(hbquery,onFault1)); map.addLayer(hbGraphicsLayer); //========================================================================== (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |