MapLayers Property |
Namespace: Telogis.GeoBase
The Layers property is only supported when using a remote map. Each layer results in a separate GeoStream request, with the results composited together.
Layers can be specified in addition to SatelliteLayerName when LayersRenderMode is not RenderMode.PreMap, in which case the layers will be drawn on top of the satellite layer.
// Create a Map object Telogis.GeoBase.Map myMap = new Telogis.GeoBase.Map(); // Set the map to use a map layer myMap.Layers = new[] { "MyLayerName" }; // Display the name of the map layer Console.WriteLine("The map's currently used map layer is {0}", myMap.Layers[0]);