Interface: GLBModelOffset
Translation in map-space meters applied after GLB bottom alignment.
Because the offset is applied on the placement pivot (which has no scale), 1 unit equals 1 metre in
the map regardless of the asset’s defaultScale. This makes it straightforward to align models with
MapLibre style properties such as fill-extrusion-height.
X and Z are world-aligned (not rotated with the model); Y is always the vertical axis.
Properties
x?
optional x?: number;y?
optional y?: number;z?
optional z?: number;Last updated on