ModelOptions | MapGL | Urbi Documentation
MapGL JS API

ModelOptions

Options for a model.

Properties
number[]

Geographical coordinates [longitude, latitude].

boolean

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

string[]

A list of buildings' identifiers that should be hidden.

number

Maximum display styleZoom of the model.

number

Minimum display styleZoom of the model.

string

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

string

URL where a model is located.

number

Offset of a model along the X axis in meters.

number

Offset of a model along the Y axis in meters.

number

Offset of a model along the Z axis in meters.

number

Rotation of a model in degrees about the X axis.

number

Rotation of a model in degrees about the Y axis.

number

Rotation of a model in degrees about the Z axis.

number

Scale of a model.

any

User specific data.