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(); }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.