Model component.

A Model is a 3D model in GLTF or GLB format anchored to a Coordinate on the map.

<Model
coordinate={coordinate}
url={'/path/to/model.glb'}
options={{
scale: [0.01, 0.01, 0.01],
rotation: [90, 0, 0],
opacity: 0.5,
}}
/>

Properties

$$typeof: symbol
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.