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