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);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.