... private var selectionSMS:SimpleMarkerSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 30, 0x00FF00, 0.5); // private var selectionSMS:SimpleMarkerSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 6, 0x000000, 0); ... /** * Listen feature layer update end handler */ protected function onFeatureLayerUpdated(event:LayerEvent):void { if (featureLayer.selectedFeatures != null && featureLayer.selectedFeatures.length > 0) { Graphic(featureLayer.selectedFeatures[0]).symbol = selectionSMS; // for points } }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.