//2000 is milliseconds and equals 2 seconds. setTimeout(zoomNext, 2000, [ new Extent(xmin, ymin, xmax, ymax) ]); private function zoomNext(ext:Extent):void { map.extent = ext; }
Robert, Sure just set the map's inital extent to the state value and then have a zoom function like this called using setTimeout: //2000 is milliseconds and equals 2 seconds. setTimeout(zoomNext, 2000, [ new Extent(xmin, ymin, xmax, ymax) ]); private function zoomNext(ext:Extent):void { map.extent = ext; }
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.