MapTileSource
MapTileSource
MapTileSource
MapTileSource
Class
Definition
Represents a source of tiles to overlay on the MapControl.
public : class MapTileSource : DependencyObject, IMapTileSourcepublic class MapTileSource : DependencyObject, IMapTileSourcePublic Class MapTileSource Inherits DependencyObject Implements IMapTileSource// This API is not available in Javascript.
- Inheritance
-
MapTileSourceMapTileSourceMapTileSourceMapTileSource
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Inherited properties
Constructors
MapTileSource() MapTileSource() MapTileSource() MapTileSource()
Initializes a new instance of the MapTileSource class.
public : MapTileSource()public MapTileSource()Public Sub New()// This API is not available in Javascript.
- See Also
-
MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)
MapTileSource(MapTileDataSource) MapTileSource(MapTileDataSource) MapTileSource(MapTileDataSource) MapTileSource(MapTileDataSource)
Initializes a new instance of the MapTileSource class with the specified data source.
public : MapTileSource(MapTileDataSource dataSource)public MapTileSource(MapTileDataSource dataSource)Public Sub New(dataSource As MapTileDataSource)// This API is not available in Javascript.
The data source to use for the tiles.
- See Also
-
MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)
MapTileSource(MapTileDataSource, MapZoomLevelRange) MapTileSource(MapTileDataSource, MapZoomLevelRange) MapTileSource(MapTileDataSource, MapZoomLevelRange) MapTileSource(MapTileDataSource, MapZoomLevelRange)
Initializes a new instance of the MapTileSource class with the specified data source and zoom level range.
public : MapTileSource(MapTileDataSource dataSource, MapZoomLevelRange zoomLevelRange)public MapTileSource(MapTileDataSource dataSource, MapZoomLevelRange zoomLevelRange)Public Sub New(dataSource As MapTileDataSource, zoomLevelRange As MapZoomLevelRange)// This API is not available in Javascript.
The data source to use for the tiles.
- zoomLevelRange
- MapZoomLevelRange MapZoomLevelRange MapZoomLevelRange MapZoomLevelRange
The zoom level range for the tiles.
- See Also
-
MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)
MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox) MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox) MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox) MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox)
Initializes a new instance of the MapTileSource class with the specified data source, zoom level range, and bounding rectangle.
public : MapTileSource(MapTileDataSource dataSource, MapZoomLevelRange zoomLevelRange, GeoboundingBox bounds)public MapTileSource(MapTileDataSource dataSource, MapZoomLevelRange zoomLevelRange, GeoboundingBox bounds)Public Sub New(dataSource As MapTileDataSource, zoomLevelRange As MapZoomLevelRange, bounds As GeoboundingBox)// This API is not available in Javascript.
The data source to use for the tiles.
- zoomLevelRange
- MapZoomLevelRange MapZoomLevelRange MapZoomLevelRange MapZoomLevelRange
The zoom level range for the tiles.
The geographic area of tiles requested.
- See Also
-
MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)
MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox, Int32) MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox, Int32) MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox, Int32) MapTileSource(MapTileDataSource, MapZoomLevelRange, GeoboundingBox, Int32)
Initializes a new instance of the MapTileSource class with the specified data source, zoom level range, bounding rectangle, and tile size.
public : MapTileSource(MapTileDataSource dataSource, MapZoomLevelRange zoomLevelRange, GeoboundingBox bounds, int tileSizeInPixels)public MapTileSource(MapTileDataSource dataSource, MapZoomLevelRange zoomLevelRange, GeoboundingBox bounds, Int32 tileSizeInPixels)Public Sub New(dataSource As MapTileDataSource, zoomLevelRange As MapZoomLevelRange, bounds As GeoboundingBox, tileSizeInPixels As Int32)// This API is not available in Javascript.
The data source to use for the tiles.
- zoomLevelRange
- MapZoomLevelRange MapZoomLevelRange MapZoomLevelRange MapZoomLevelRange
The zoom level range for the tiles.
The geographic area of tiles requested.
- tileSizeInPixels
- int Int32 Int32 Int32
The size of individual square tiles in pixels.
- See Also
-
MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)MapTileSource(MapTileDataSource, MapZoomLevelRange)
Properties
AllowOverstretch AllowOverstretch AllowOverstretch AllowOverstretch
Gets or sets a value that specifies whether to stretch the current tile while a higher-resolution tile is being downloaded.
public : PlatForm::Boolean AllowOverstretch { get; set; }public bool AllowOverstretch { get; set; }Public ReadWrite Property AllowOverstretch As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true to stretch the current tile while a higher-resolution tile is being downloaded; otherwise, false.
- See Also
AllowOverstretchProperty AllowOverstretchProperty AllowOverstretchProperty AllowOverstretchProperty
Identifies the AllowOverstretch dependency property.
public : static DependencyProperty AllowOverstretchProperty { get; }public static DependencyProperty AllowOverstretchProperty { get; }Public Static ReadOnly Property AllowOverstretchProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the AllowOverstretch dependency property.
- See Also
Bounds Bounds Bounds Bounds
Gets or sets the rectangular area to contain the tiles.
public : GeoboundingBox Bounds { get; set; }public GeoboundingBox Bounds { get; set; }Public ReadWrite Property Bounds As GeoboundingBox// This API is not available in Javascript.
The rectangular area to contain the tiles.
- See Also
BoundsProperty BoundsProperty BoundsProperty BoundsProperty
Identifies the Bounds dependency property.
public : static DependencyProperty BoundsProperty { get; }public static DependencyProperty BoundsProperty { get; }Public Static ReadOnly Property BoundsProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the Bounds dependency property.
- See Also
DataSource DataSource DataSource DataSource
Gets or sets the data source for the tiles.
public : MapTileDataSource DataSource { get; set; }public MapTileDataSource DataSource { get; set; }Public ReadWrite Property DataSource As MapTileDataSource// This API is not available in Javascript.
The data source for the tiles.
- See Also
DataSourceProperty DataSourceProperty DataSourceProperty DataSourceProperty
Identifies the DataSource dependency property.
public : static DependencyProperty DataSourceProperty { get; }public static DependencyProperty DataSourceProperty { get; }Public Static ReadOnly Property DataSourceProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the DataSource dependency property.
- See Also
IsFadingEnabled IsFadingEnabled IsFadingEnabled IsFadingEnabled
Gets or sets a value that indicates whether fading is enabled for the tiles.
public : PlatForm::Boolean IsFadingEnabled { get; set; }public bool IsFadingEnabled { get; set; }Public ReadWrite Property IsFadingEnabled As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if fading is enabled for the tiles; otherwise, false.
- See Also
IsFadingEnabledProperty IsFadingEnabledProperty IsFadingEnabledProperty IsFadingEnabledProperty
Identifies the IsFadingEnabled dependency property.
public : static DependencyProperty IsFadingEnabledProperty { get; }public static DependencyProperty IsFadingEnabledProperty { get; }Public Static ReadOnly Property IsFadingEnabledProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the IsFadingEnabled dependency property.
- See Also
IsRetryEnabled IsRetryEnabled IsRetryEnabled IsRetryEnabled
Gets or sets a value that indicates whether retry is enabled for the tiles.
public : PlatForm::Boolean IsRetryEnabled { get; set; }public bool IsRetryEnabled { get; set; }Public ReadWrite Property IsRetryEnabled As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if retry is enabled for the tiles; otherwise, false.
- See Also
IsRetryEnabledProperty IsRetryEnabledProperty IsRetryEnabledProperty IsRetryEnabledProperty
Identifies the IsRetryEnabled dependency property.
public : static DependencyProperty IsRetryEnabledProperty { get; }public static DependencyProperty IsRetryEnabledProperty { get; }Public Static ReadOnly Property IsRetryEnabledProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the IsRetryEnabled dependency property.
- See Also
IsTransparencyEnabled IsTransparencyEnabled IsTransparencyEnabled IsTransparencyEnabled
Gets or sets a value that indicates whether transparency is enabled for the tiles.
public : PlatForm::Boolean IsTransparencyEnabled { get; set; }public bool IsTransparencyEnabled { get; set; }Public ReadWrite Property IsTransparencyEnabled As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if transparency is enabled for the tiles; otherwise, false.
- See Also
IsTransparencyEnabledProperty IsTransparencyEnabledProperty IsTransparencyEnabledProperty IsTransparencyEnabledProperty
Identifies the IsTransparencyEnabled dependency property.
public : static DependencyProperty IsTransparencyEnabledProperty { get; }public static DependencyProperty IsTransparencyEnabledProperty { get; }Public Static ReadOnly Property IsTransparencyEnabledProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the IsTransparencyEnabled dependency property.
- See Also
Layer Layer Layer Layer
Gets or sets the layer that contains the tiles.
public : MapTileLayer Layer { get; set; }public MapTileLayer Layer { get; set; }Public ReadWrite Property Layer As MapTileLayer// This API is not available in Javascript.
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:
- 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.
- See Also
LayerProperty LayerProperty LayerProperty LayerProperty
Identifies the Layer dependency property.
public : static DependencyProperty LayerProperty { get; }public static DependencyProperty LayerProperty { get; }Public Static ReadOnly Property LayerProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the Layer dependency property.
- See Also
TilePixelSize TilePixelSize TilePixelSize TilePixelSize
Gets or sets the size of the tiles in pixels.
public : int TilePixelSize { get; set; }public int TilePixelSize { get; set; }Public ReadWrite Property TilePixelSize As int// This API is not available in Javascript.
- Value
- int int int int
The size of the tiles in pixels.
- See Also
TilePixelSizeProperty TilePixelSizeProperty TilePixelSizeProperty TilePixelSizeProperty
Identifies the TilePixelSize dependency property.
public : static DependencyProperty TilePixelSizeProperty { get; }public static DependencyProperty TilePixelSizeProperty { get; }Public Static ReadOnly Property TilePixelSizeProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the TilePixelSize dependency property.
- See Also
Visible Visible Visible Visible
Gets or sets a value that indicates whether the MapTileSource is visible.
public : PlatForm::Boolean Visible { get; set; }public bool Visible { get; set; }Public ReadWrite Property Visible As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the MapTileSource is visible; otherwise, false.
- See Also
VisibleProperty VisibleProperty VisibleProperty VisibleProperty
Identifies the Visible dependency property.
public : static DependencyProperty VisibleProperty { get; }public static DependencyProperty VisibleProperty { get; }Public Static ReadOnly Property VisibleProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the Visible dependency property.
- See Also
ZIndex ZIndex ZIndex ZIndex
Gets or sets the z-index of the tiles.
public : int ZIndex { get; set; }public int ZIndex { get; set; }Public ReadWrite Property ZIndex As int// This API is not available in Javascript.
- Value
- int int int int
The z-index of the tiles.
- See Also
ZIndexProperty ZIndexProperty ZIndexProperty ZIndexProperty
Identifies the ZIndex dependency property.
public : static DependencyProperty ZIndexProperty { get; }public static DependencyProperty ZIndexProperty { get; }Public Static ReadOnly Property ZIndexProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ZIndex dependency property.
- See Also
ZoomLevelRange ZoomLevelRange ZoomLevelRange ZoomLevelRange
Gets or sets the minimum and maximum zoom level of the tiles. Tiles are only visible when the ZoomLevel of the MapControl is within the ZoomLevelRange.
public : MapZoomLevelRange ZoomLevelRange { get; set; }public MapZoomLevelRange ZoomLevelRange { get; set; }Public ReadWrite Property ZoomLevelRange As MapZoomLevelRange// This API is not available in Javascript.
The minimum and maximum zoom level of the tiles.
- See Also
ZoomLevelRangeProperty ZoomLevelRangeProperty ZoomLevelRangeProperty ZoomLevelRangeProperty
Identifies the ZoomLevelRange dependency property.
public : static DependencyProperty ZoomLevelRangeProperty { get; }public static DependencyProperty ZoomLevelRangeProperty { get; }Public Static ReadOnly Property ZoomLevelRangeProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ZoomLevelRange dependency property.
- See Also