Represents custom shapefile data.
To load the existing shapefile in code, set the MapDashboardItem.Area property to ShapefileArea.Custom and use the MapDashboardItem.CustomShapefile property. There are two ways to provide the 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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CustomShapefileData class.
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.