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; }
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.