flex河流断面高亮闪烁

	
	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,new AsyncResponder(onResult,onFault1));
				
				map.addLayer(hbGraphicsLayer);
				
				//==========================================================================

你可能感兴趣的:(Flex)