skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class OsmTileMapSource

Inheritance
System.Object
MultiScaleTileSource
TiledMapSource
OsmTileMapSource
OpenStreetCycleSource
OpenStreetCycleTransportSource
OpenStreetHumanitarianSource
OpenStreetMapnikSource
OpenStreetOsmarenderSource
OsmBasedMapSource
Inherited Members
TiledMapSource.OpacityProperty
TiledMapSource.CacheTile(Int32, Int32, Int32, Uri, DateTime, Byte[])
TiledMapSource.IsLevelSupported(Int32)
TiledMapSource.ConvertTileToZoomLevel(Int32)
TiledMapSource.ConvertZoomToTileLevel(Int32)
TiledMapSource.GetCachedTileName(Int32, Int32, Int32)
TiledMapSource.GetCachedTile(Int32, Int32, Int32)
TiledMapSource.GetCachedTileAsync(Int32, Int32, Int32, Action<Byte[]>)
TiledMapSource.GetTileLayers(Int32, Int32, Int32, IList<Object>)
TiledMapSource.IsValidTileLevel(Int32)
TiledMapSource.InvalidateNullTiles()
TiledMapSource.RaiseInitializeCompleted()
TiledMapSource.RaiseInitializationFaulted(String, Exception)
TiledMapSource.CacheStorage
TiledMapSource.Culture
TiledMapSource.IsTileCachingEnabled
TiledMapSource.Opacity
TiledMapSource.UniqueId
TiledMapSource.MinZoomLevel
TiledMapSource.MaxZoomLevel
TiledMapSource.InitializeCompleted
TiledMapSource.InitializationFaulted
MultiScaleTileSource.InvalidateTileLayer(Int32, Int32, Int32, Int32)
MultiScaleTileSource.SetTileCacheSize(Int32)
MultiScaleTileSource.OnHttpAuthenticationRequired(Uri, String, Dictionary<String, String>)
MultiScaleTileSource.RequestCredentials
MultiScaleTileSource.WebHeaders
Namespace: Telerik.UI.Xaml.Controls.DataVisualization.Map
Assembly: Telerik.WinUI.Controls.dll

Syntax

public class OsmTileMapSource : TiledMapSource, IMapSource

Constructors

OsmTileMapSource(String)

Declaration
protected OsmTileMapSource(string tileUrlFormat)
Parameters
System.String tileUrlFormat

OsmTileMapSource(String, String)

Declaration
protected OsmTileMapSource(string tileUrlFormat, string key)
Parameters
System.String tileUrlFormat

System.String key

OsmTileMapSource(String, String[], Int32)

Declaration
protected OsmTileMapSource(string tileUrlFormat, string[] tilePathPrefixes, int maxZoomLevel = 18)
Parameters
System.String tileUrlFormat

System.String[] tilePathPrefixes

System.Int32 maxZoomLevel

Fields

DefaultMaxZoomLevel

Declaration
public const int DefaultMaxZoomLevel = 18
Field Value
System.Int32

Properties

APIKey

Declaration
public string APIKey { get; set; }
Property Value
System.String

Methods

GetTile(Int32, Int32, Int32)

Declaration
protected override Uri GetTile(int tileLevel, int tilePositionX, int tilePositionY)
Parameters
System.Int32 tileLevel

System.Int32 tilePositionX

System.Int32 tilePositionY

Returns
System.Uri

Overrides
TiledMapSource.GetTile(Int32, Int32, Int32)

Initialize()

Declaration
public override void Initialize()
Overrides
TiledMapSource.Initialize()

IsValidCacheUri(Int32, Int32, Int32, Uri)

Declaration
protected override bool IsValidCacheUri(int tileLevel, int tilePositionX, int tilePositionY, Uri uri)
Parameters
System.Int32 tileLevel

System.Int32 tilePositionX

System.Int32 tilePositionY

System.Uri uri

Returns
System.Boolean

Overrides
TiledMapSource.IsValidCacheUri(Int32, Int32, Int32, Uri)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.