ModelOptions | MapGL | 2GIS Documentation
MapGL JS API
Личный кабинет

ModelOptions

Options for a model

Properties
number[]

Geographical coordinates [longitude, latitude]

undefinedfalsetrue

Interactivity of model. All models are interactive by default

string[]

List of buildings' identifiers that should be hidden

Identifier of the model should be unique for every model

string

Url where the model is located

undefinednumber

Offset of the model along the X axis in meters

undefinednumber

Offset of the model along the Y axis in meters

undefinednumber

Offset of the model along the Z axis in meters

undefinednumber

Rotation of the model in degrees about the X axis

undefinednumber

Rotation of the model in degrees about the Y axis

undefinednumber

Rotation of the model in degrees about the Z axis

undefinednumber

Scale of the model

any

User specific data