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); }); }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.