MapViewport Class

Declaration

export class MapViewport extends SerializableModel

constructor

Initializes a new instance of the MapViewport class.

Declaration

constructor(
    modelJson?: any,
    serializer?: 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

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(): ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.