interface
BuildingFloorOptions
Options for a floor's plan in the realty scene.
Properties
icon?
string
An icon to add to the floors' control.
id
string
An identifier of the floor's plan.
isUnderground?
boolean
Specifies whether a floor's plan is underground.
If value is
`true`
the map will be covered with a ground geometry
so that only the floor's plan will stay visible.
labelGroups?
LabelGroupOptions[]
A list of groups of labels connected with the floor's plan.
mapOptions?
Map's options to apply after selecting the particular floor.
modelUrl
string
A URL of a model that represents the current floor's plan.
text
string
A text to add to the floors' control.
BuildingOptions
Options for a building in the realty scene.
Properties
coordinates
number[]
Geographical coordinates [longitude, latitude].
floors?
BuildingFloorOptions[]
A list of the floors' plans connected with the particular building.
interactive?
boolean
Interactivity of a model. The model isn't interactive by default.
linkedIds?
string[]
A list of buildings' identifiers that should be hidden.
mapOptions?
Map's options to apply after selecting the particular building.
maxZoom?
number
Maximum display styleZoom of the model.
minZoom?
number
Minimum display styleZoom of the model.
modelId
string
An identifier of a model should be unique for every model.
modelUrl
string
URL where a model is located.
offsetX?
number
Offset of a model along the X axis in meters.
offsetY?
number
Offset of a model along the Y axis in meters.
offsetZ?
number
Offset of a model along the Z axis in meters.
popupOptions?
Popup options.
rotateX?
number
Rotation of a model in degrees about the X axis.
rotateY?
number
Rotation of a model in degrees about the Y axis.
rotateZ?
number
Rotation of a model in degrees about the Z axis.
scale?
number
Scale of a model.
userData?
any
User specific data.