MapTileSource.Layer MapTileSource.Layer MapTileSource.Layer MapTileSource.Layer Property

Definition

Gets or sets the layer that contains the tiles.

public : MapTileLayer Layer { get; set; }
MapTileLayer Layer();

void Layer(MapTileLayer layer);
public MapTileLayer Layer { get; set; }
Public ReadWrite Property Layer As MapTileLayer

Property Value

The layer that contains the tiles.

Remarks

You can specify one of the named layers of map content to contain the tiles that you overlay on the map. The values of the MapTileLayer enumeration are similar to a range of z-index values, from foreground to background. If you don't specify a value for the Layer property, the tiles are overlaid in the foreground layer.

To replace the default map entirely:

See also