Skip to main content

MapViewport Class

#Declaration

TypeScript
export class MapViewport extends SerializableModel

#Inherited Members

#Inheritance

#constructor

Initializes a new instance of the MapViewport class.

#Declaration

TypeScript
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

#bottomLatitude Property

#Declaration

TypeScript
bottomLatitude: ko.Observable<number>

#Property Value

Type
Observable<number>

#centerPointLatitude Property

#Declaration

TypeScript
centerPointLatitude: ko.Observable<number>

#Property Value

Type
Observable<number>

#centerPointLongitude Property

#Declaration

TypeScript
centerPointLongitude: ko.Observable<number>

#Property Value

Type
Observable<number>

#createViewerPaddings Property

#Declaration

TypeScript
createViewerPaddings: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#leftLongitude Property

#Declaration

TypeScript
leftLongitude: ko.Observable<number>

#Property Value

Type
Observable<number>

#rightLongitude Property

#Declaration

TypeScript
rightLongitude: ko.Observable<number>

#Property Value

Type
Observable<number>

#topLatitude Property

#Declaration

TypeScript
topLatitude: ko.Observable<number>

#Property Value

Type
Observable<number>

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.