private void MyMap_Initialized(object sender, System.EventArgs e) { Map map = sender as Map; map.Layers.LayersInitialized += new LayerCollection.LayersInitializedHandler(Layers_LayersInitialized); } void Layers_LayersInitialized(object sender, System.EventArgs args) { LayerCollection col = sender as LayerCollection; Envelope env = col.GetFullExtent(); }
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.