MapTileLayer MapTileLayer MapTileLayer MapTileLayer Enum

Definition

Specifies the Layer type of a MapTileSource.

public : enum class MapTileLayer
enum class winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer : int32_t
public enum MapTileLayer
Public Enum MapTileLayer
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

AreaOverlay AreaOverlay AreaOverlay AreaOverlay 2

The MapTileSource is an area overlay.

BackgroundOverlay BackgroundOverlay BackgroundOverlay BackgroundOverlay 3

The MapTileSource is a background overlay.

BackgroundReplacement BackgroundReplacement BackgroundReplacement BackgroundReplacement 4

The MapTileSource is a background replacement overlay.

LabelOverlay LabelOverlay LabelOverlay LabelOverlay 0

The MapTileSource is a label overlay.

RoadOverlay RoadOverlay RoadOverlay RoadOverlay 1

The MapTileSource is a road overlay.

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