extGraphics = GraphicsUtils.graphicsExtent(resultFeatures); map.setExtent(extGraphics);
you can try this. It is written in AMD mode, so make sure you add "esri/graphicsUtils" in your require function parameters, and give it a local name "GraphicsUtils".extGraphics = GraphicsUtils.graphicsExtent(resultFeatures); map.setExtent(extGraphics);
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.