OsmTileMapSource
Open street base map source.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class OsmTileMapSource : TiledMapSource, IMapSource
Inheritance: objectMultiScaleTileSourceTiledMapSourceOsmTileMapSource
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the OsmTileMapSource class.
Initializes a new instance of the OsmTileMapSource class.
protected OsmTileMapSource(string tileUrlFormat)
Format string for the tile renderer.
Fields
Default max zoom level for OpenStreet Maps.
public const int DefaultMaxZoomLevel = 18
Properties
Methods
Initialize provider.
public override void Initialize()
Overrides:
Validates loaded uri to tile position. Should be overridden if the provider loads the same tile from different http addresses.
protected override bool IsValidCacheUri(int tileLevel, int tilePositionX, int tilePositionY, Uri uri)
The MSI tile Level.
tilePositionXintThe number of tiles from the left (0 based) for this tile level.
tilePositionYintThe number of tiles from the top (0 based) for this tile level.
uriUriUri.
Returns:True if the loaded uri is valid.
Overrides: