About the utility function :GraphicUtil.getGeometries It extracts array of geometries from array of graphics Is there any way to get features that are outside and touching these geometries?I mean if there are 20 geometries (of graphics), I want to get features that are outside the 20 geometries touching them...
One way I solved this issue using an boolean variable that I set initially and the updateend checks for this boolean variable (only does zooming in the first time)..
var ac:ArrayCollection = featureLayer.graphicProvider as ArrayCollection; map.extent = GraphicUtil.getGraphicsExtent(ac.toArray());
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.