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