Skip to content

The following example shows how to load a .shp file to provide a custom map for the Choropleth Map dashboard item.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/win-viewer-map-custom-shape-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for WinForms - Provide Custom Maps for Map Dashboard Items in code

The following example shows how to load a .shp file to provide a custom map for the Choropleth Map dashboard item.

DevExpress Dashboard uses a Shapefile vector format to provide custom maps. Commonly, this format includes two file types:

  • .shp file - holds map shapes (points/lines/polygons);
  • .dbf file - contains attributes for each shape.

Follow the steps below to load the existing shapefile in code:

If you use the CustomShapefile.Url property to open a map, the dashboard XML definition will contain the path to a map shapefile. If you open the map with the CustomShapefile.Data property, the dashboard XML definition will contain the map itself.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

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

About

The following example shows how to load a .shp file to provide a custom map for the Choropleth Map dashboard item.

Topics

Resources

License

Stars

Watchers

Forks