MapDashboardItem.CustomShapefile Property
Gets a shapefile used to provide a custom map.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
Property Value
Type | Description |
---|---|
CustomShapefile | A CustomShapefile object that is a shapefile used to provide a custom map. |
Remarks
Dashboard map items provide the capability to display maps within a dashboard. You can use the following options to display a map in the dashboard map item.
- Select one of predefined maps that ship with the DevExpress Dashboard. Use the MapDashboardItem.Area property to do this.
- Set the MapDashboardItem.Area property to ShapefileArea.Custom and use the CustomShapefile property to specify the existing shapefile.
There are two ways to provide a custom shapefile.
- Use the CustomShapefile.Url property to specify the path to the shapefile.
- Create the CustomShapefileData object, specify its CustomShapefileData.ShapeData and CustomShapefileData.AttributeData (optionally) properties and assign this object to the CustomShapefile.Data property.
Note
Note that custom maps created in the Cartesian coordinate system are not supported.
See Also