function reduceExtent(geom) { // Adjust the current extent to the specified scale where we can see // abstracts myMap.setExtent(esri.geometry.getExtentForScale(myMap, 44315.3858)); // Wait until the extent change has completed var tempHook = dojo.connect(parcelMap, "onUpdateEnd", function() { // Pan to the selected abstract myMap.centerAt(geom.getExtent().getCenter()); // Dispose of the temporary listener dojo.disconnect(tempHook); }); }
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.