MapDashboardItem.Area Property
Gets or sets the predefined dashboard map.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
[DefaultValue(ShapefileArea.WorldCountries)]
public ShapefileArea Area { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Shapefile |
World |
A Shapefile |
Available values:
Name | Description |
---|---|
Custom | A custom map. To load the custom shapefile, use the Map |
World |
A world map. |
Europe | A map of Europe. |
Asia | A map of Asia. |
North |
A map of North America. |
South |
A map of South America. |
Africa | A map of Africa. |
USA | A map of the USA. |
Canada | A map of Canada. |
#Remarks
Map dashboard items provide the capability to display maps within a dashboard. You can use the following options to display a map in the map dashboard item.
- Select one of predefined maps that ship with DevExpress Dashboard. Use the Area property to do this.
- Set the Area property to ShapefileArea.Custom and use the MapDashboardItem.CustomShapefile property to specify the existing shapefile.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Area property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.