Skip to main content
A newer version of this page is available. .

MapViewport Class

Declaration

export class MapViewport extends SerializableModel

constructor

Initializes a new instance of the MapViewport class.

Declaration

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

Parameters

Name Type Description
modelJson any

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

serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Properties

bottomLatitude Property

Declaration

bottomLatitude: ko.Observable<number>

Property Value

Type
Observable<number>

centerPointLatitude Property

Declaration

centerPointLatitude: ko.Observable<number>

Property Value

Type
Observable<number>

centerPointLongitude Property

Declaration

centerPointLongitude: ko.Observable<number>

Property Value

Type
Observable<number>

createViewerPaddings Property

Declaration

createViewerPaddings: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

leftLongitude Property

Declaration

leftLongitude: ko.Observable<number>

Property Value

Type
Observable<number>

rightLongitude Property

Declaration

rightLongitude: ko.Observable<number>

Property Value

Type
Observable<number>

topLatitude Property

Declaration

topLatitude: ko.Observable<number>

Property Value

Type
Observable<number>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray