BuildingOptions | MapGL | 2GIS Documentation
MapGL JS API

BuildingOptions

Options for a building in the realty scene.

Properties
number[]

Geographical coordinates [longitude, latitude].

BuildingFloorOptions[]

A list of the floors' plans connected with the particular building.

undefinedfalsetrue

Interactivity of a model. The model isn't interactive by default.

string[]

A list of buildings' identifiers that should be hidden.

Map's options to apply after selecting the particular building.

string

An identifier of a model should be unique for every model.

string

URL where a model is located.

undefinednumber

Offset of a model along the X axis in meters.

undefinednumber

Offset of a model along the Y axis in meters.

undefinednumber

Offset of a model along the Z axis in meters.

Popup options.

undefinednumber

Rotation of a model in degrees about the X axis.

undefinednumber

Rotation of a model in degrees about the Y axis.

undefinednumber

Rotation of a model in degrees about the Z axis.

undefinednumber

Scale of a model.

any

User specific data.