コード例 #1
0
 private void wmsClient_LayerAdded(WmsClient client, WmsMapLayer layer)
 {
     CheckSrs();
     _listBoxLayers.Items.Add(new WmsMapLayerWrapper(layer, _wmsClient.Capabilities));
     _listBoxLayers.SelectedIndex = client.GetLayerIndex(layer);
     _listBoxLayers.Enabled       = _listBoxLayers.Items.Count > 0;
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="layer"></param>
 /// <param name="capabilities"></param>
 public WmsMapLayerWrapper(WmsMapLayer layer, ICapabilities capabilities)
 {
     _layer        = layer;
     _capabilities = capabilities;
 }
コード例 #3
0
 private void wmsClient_LayerAdded(WmsClient client, WmsMapLayer layer)
 {
     CheckSrs();
     _listBoxLayers.Items.Add(new WmsMapLayerWrapper(layer, _wmsClient.Capabilities));
     _listBoxLayers.SelectedIndex = client.GetLayerIndex(layer);
     _listBoxLayers.Enabled = _listBoxLayers.Items.Count > 0;
 }
コード例 #4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="layer"></param>
 /// <param name="capabilities"></param>
 public WmsMapLayerWrapper(WmsMapLayer layer, ICapabilities capabilities)
 {
     _layer = layer;
     _capabilities = capabilities;
 }