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(); }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.