ModelOptions | MapGL | Urbi Documentation
MapGL JS API

ModelOptions

Options for a model.

Properties
number[]

Geographical coordinates [longitude, latitude].

undefinedfalsetrue

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

string[]

A list of buildings' identifiers that should be hidden.

undefinednumber

Maximum display styleZoom of the model.

undefinednumber

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.

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.

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.