//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; }
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.