MapTileLayer
MapTileLayer
MapTileLayer
MapTileLayer
Enum
Definition
Specifies the Layer type of a MapTileSource.
public : enum class MapTileLayerpublic enum MapTileLayerPublic Enum MapTileLayer// This API is not available in Javascript.
- 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 | The MapTileSource is an area overlay. |
| BackgroundOverlay BackgroundOverlay BackgroundOverlay BackgroundOverlay | The MapTileSource is a background overlay. |
| BackgroundReplacement BackgroundReplacement BackgroundReplacement BackgroundReplacement | The MapTileSource is a background replacement overlay. |
| LabelOverlay LabelOverlay LabelOverlay LabelOverlay | The MapTileSource is a label overlay. |
| RoadOverlay RoadOverlay RoadOverlay RoadOverlay | 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:
- Specify MapTileLayer.**BackgroundReplacement** as the value of the Layer property of the MapTileSource.
- Specify MapStyle.**None** as the value of the Style property of the MapControl.