The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CustomShapefile Class

A custom shapefile that is used to provide a map for the map dashboard items (such as Choropleth or Geo Point maps).

Declaration

export class CustomShapefile extends SerializableModel

Remarks

To load the existing shapefile, set the MapItem.area property to js-DevExpress.Dashboard.Model.ShapefileArea.Custom and use the MapItem.customShapefile property. There are two ways to provide the custom shapefile.

Inheritance

SerializableModel
CustomShapefile

constructor

Initializes a new instance of the CustomShapefile class.

Declaration

constructor(modelJson?: any, serializer?: DxDesigner.Analytics.Utils.ModelSerializer)

Optional Parameters

Type Name Default Description
any modelJson null

A JSON object used for a dashboard deserialization. Do not pass this parameter directly.

DxDesigner.Analytics.Utils.ModelSerializer serializer null

An object used for a dashboard deserialization. Do not pass this parameter directly.

Properties

data Property

Declaration

data: CustomShapefileData

Property Value

Type Description
CustomShapefileData

url Property

Declaration

url: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo