Esempio n. 1
0
 void OnResponseCapabalities(object sender, CapabilitiesRespondedEventArgs e)
 {
     // Specify an active layer for the map control.
     Provider.ActiveLayerName = e.Layers[0].Name;
     // Recieve information on the active layer.
     label1.Text = string.Format("Layer name: {0}, Layer title: {1}", e.Layers[0].Name, e.Layers[0].Title);
 }
Esempio n. 2
0
 private void OnResponseCapabilities(object sender, CapabilitiesRespondedEventArgs e)
 {
     listBox.ItemsSource = e.Layers;
 }
Esempio n. 3
0
 void OnResponseCapabalities(object sender, CapabilitiesRespondedEventArgs e)
 {
     tlLayers.DataSource = e.Layers;
 }