Skip to content

This example shows how to implement a custom provider of image tiles.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-map-load-image-tiles-from-custom-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map for WinForms - Create a Data Provider to Load Image Tiles from a Custom Source

This example shows how to implement a custom image tile provider. To do this, create a MapDataProviderBase class descendant and assign it to the ImageLayer.DataProvider property.

Resulting map

This example loads image tiles from a local cache. The image tiles are downloaded in advance from a public server with OpenStreetMap tiles. A list of alternative OpenStreetMap image tile providers is available here: OpenStreetMap: Tile usage policy.

Note: If you only need to change an URI to the location of OpenStreetMap image tiles, use the OpenStreetMapDataProvider and specify its TileUriTemplate property.

Files to Review

Documentation

More Example

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

This example shows how to implement a custom provider of image tiles.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •