Skip to content

Create a custom provider that supplies the map with vector tiles for WinForms Map.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-map-custom-vector-tile-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map for WinForms - Create a Custom Provider of Vector Tiles

This example shows how to create a custom provider that supplies the map with vector tiles.

Resulting map

To do this, create a class derived from the VectorTileDataProviderBase class.

Override the provider's GetStream method so that it returns a tile as a sequence of bytes for specific coordinates in the tile grid at the specified zoom level. In this example, the GetStream method loads binary data in the PBF format from the Data/test.data file.

Assign the provider to the ImageLayer.DataProvider property.

Files to Look At

Documentation

More Examples

Does this example address your development requirements/objectives?

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

About

Create a custom provider that supplies the map with vector tiles for WinForms Map.

Topics

Resources

License

Stars

Watchers

Forks