BuildingOptions | MapGL | 2GIS Documentation
MapGL JS API

BuildingOptions

Options for a building on the realty scene

Properties
number[]

Geographical coordinates [longitude, latitude]

BuildingFloorOptions[]

List of the floors' plans connected with the particular building

undefinedfalsetrue

Interactivity of model. All models are interactive by default

string[]

List of buildings' identifiers that should be hidden

Map's options to apply after selecting the particular building

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

Popup options

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