public function moveGraphicToBack(graphic:Graphic):void { var graphicsProvider:ArrayCollection = graphicsLayer.graphicProvider as ArrayCollection; var index:int = graphicsProvider.getItemIndex(graphic); if (index > -1) { graphicsProvider.removeItemAt(index); } graphicsProvider.addItemAt(graphic, 0); }
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.