Providing Maps

<< Click to Display Table of Contents >>

Navigation:  User Interface Reference > Dashboard Designer > Dashboard Items > Choropleth Map >

Providing Maps

Dashboard for Desktop > Dashboard Designer > Dashboard Items > Choropleth Map > Providing Maps

This document explains how to use the default DevExpress Dashboard maps, or provide custom maps.

ExpandedCollapsed Default Maps

DevExpress Dashboard ships with a set of default maps showing various parts of the world. The following maps are included.

World Countries - a world map.

Europe - a map of Europe.

Asia - a map of Asia.

North America - a map of North America.

South America - a map of South America.

Africa - a map of Africa.

USA - a map of the USA.

Canada - a map of Canada.

To select the required default map, use the Default Map button in the Open group of the Design ribbon tab (or click the img22184 button if you are using the toolbar menu).

img22183

As an alternative, use the corresponding command in the map context menu.

ExpandedCollapsed Custom Maps

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.

To open an existing shapefile, use the Load Map or Import Map button in the Ribbon, the corresponding menu button in the toolbar (the img22194 or img22193 button), or the command in the context menu (Load Map... or Import Map...).

img22192

In the invoked dialog, locate the required .shp file.

Note

If the map is opened using the Load Map button, the dashboard XML definition will contain the path to a map shapefile. If the map is opened using the Import Map button, the dashboard XML definition will contain the map itself.

Note

Attributes from the corresponding .dbf file located in the same directory will be included in the map automatically.

ExpandedCollapsed Map Attributes

After you select the default map or a custom map, you can view supplemental information (such as the name of the country, state, etc.). To do this, click the Options button next to the Attribute placeholder.

img22198

In the invoked Map Attribute Binding dialog, click Preview.

img22197

This table displays the available attributes for the current map. Each set of attribute values is related to a specific map shape.

To learn how to bind the map attribute to a data source field, see the Providing Data topic.

ExpandedCollapsed See Also

Providing Data

Copyright (c) 1998-2016 Developer Express Inc. All rights reserved.

Send Feedback on this topic to DevExpress.