protected function getLocation1_resultHandler(event:ResultEvent):void { if(event.result.information.rmk != "error") { filterXML = event.result as XML; var testPoint:MapPoint; var projParams:ProjectParameters = new ProjectParameters(); for each(table2 in filterXML.information) { testPoint = new MapPoint(table2.ax, table2.ay); var ptGraphic:Graphic = new Graphic(null, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, 0x0000FF)); ptGraphic.geometry = testPoint; ptGraphic.addEventListener(MouseEvent.CLICK, onClick); myGraphicsLayer.add(ptGraphic); } } }
<esri:FeatureLayer id="featureLayer" clusterer="{clusterer}" definitionExpression="POP1990 > 75000" mode="snapshot" outFields="*" symbol="{defaultsym}" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0">
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.