Model Source Model
Check the online documentation.
Constructors
Types
Functions
An object defining custom properties of the model. Properties are accessible as feature properties in expressions.
An array of one or more model material names whose properties will be overridden from model layer paint properties.
A collection of material overrides.
An array of one or more model node names whose transform will be overridden from model layer paint properties.
A collection of node overrides.
Orientation of the model in euler angles x, y, z. Default value: 0,0,0. The unit of orientation is in degrees.
Position of the model in longitude and latitude lng, lat. Default value: 0,0. Minimum value: -180,-90. Maximum value: 180,90.
A URL to a model resource. Supported protocols are http:, https:, and mapbox://<Model ID>.