Dela via


MapTileLayer Enum

Definition

Specifies the Layer type of a MapTileSource.

public enum class MapTileLayer
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MapTileLayer
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MapTileLayer
Public Enum MapTileLayer
Inheritance
MapTileLayer
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
LabelOverlay 0

The MapTileSource is a label overlay.

RoadOverlay 1

The MapTileSource is a road overlay.

AreaOverlay 2

The MapTileSource is an area overlay.

BackgroundOverlay 3

The MapTileSource is a background overlay.

BackgroundReplacement 4

The MapTileSource is a background replacement 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:

Applies to

See also