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; }
//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; }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.