Skip to main content

CustomShapefileData Class

Custom shapefile data.

Declaration

export class CustomShapefileData extends SerializableModel

Remarks

To load the existing shapefile in code, set the MapItem.area property to ShapefileArea.Custom and use the MapItem.customShapefile property. There are two ways to provide the custom shapefile.

Inherited Members

Inheritance

SerializableModel
CustomShapefileData

constructor

Initializes a new instance of the CustomShapefileData class.

Declaration

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

Parameters

Name Type Description
modelJson any

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

serializer ModelSerializer

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

Properties

attributeData Property

Declaration

attributeData: ko.Observable<string>

Property Value

Type
Observable<string>

shapeData Property

Declaration

shapeData: ko.Observable<string>

Property Value

Type
Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.