Click or drag to resize

MapSatelliteLayerName Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
The name of the map layer that will be used to provide satellite imagery. If specified then the imagery will be taken from the appropriate WMS layer in the GeoStream's layers.config file. Otherwise, standard GeoBase satellite imagery will be used.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public string SatelliteLayerName { get; set; }

Property Value

Type: String

Implements

IMapSatelliteLayerName
Remarks

To get satellite imagery from a WMS layer, this property must be specified and Satellite must be true.

The words "on", "off", "true", and "false" cannot be used as WMS satellite layer names.

Examples
In this example, we add a satellite layer to our map.
C#
// Create a Map object
Telogis.GeoBase.Map myMap = new Telogis.GeoBase.Map();

// Enable the use of a satellite layer.
myMap.Satellite = true;

// Set the name of the satellite layer.
myMap.SatelliteLayerName = "mySatelliteLayer";
See Also