private Envelope _original; private void MyMap_Loaded(object sender, System.Windows.RoutedEventArgs e) { _original = MyMap.Extent.Clone(); MyMap.Extent.XMax = 0; MyMap.Extent.YMax = 0; MyMap.Extent.XMin = 0; MyMap.Extent.YMin = 0; } private void MyMap_Progress(object sender, ProgressEventArgs e) { if (e.Progress == 100) { MyMap.ZoomTo(_original); MyMap.Progress -= MyMap_Progress; } }
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.