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;