Adding 3D models to a map can be a great way to represent landmarks to help users find key locations. They could also be used to show the location of assets or represent furniture to provide a rich indoor layout.
Mappedin JS supports models in Graphics Library Transmission Format (GLTF) and GL Transmission Format Binary (GLB) format. Models with nested meshes are not supported and should not be used.
3D Models can be added to a Coordinate, Door or Space.
When adding the same model to multiple locations at the same time always use an array instead of calling the add method multiple times.
This allows the SDK to re-use the same instance of the model to reduce RAM usage and rendering time, resulting in better performance.
Class representing a 3D model on the MapView.
Adding 3D models to a map can be a great way to represent landmarks to help users find key locations. They could also be used to show the location of assets or represent furniture to provide a rich indoor layout.
Mappedin JS supports models in Graphics Library Transmission Format (GLTF) and GL Transmission Format Binary (GLB) format. Models with nested meshes are not supported and should not be used.
3D Models can be added to a Coordinate, Door or Space. When adding the same model to multiple locations at the same time always use an array instead of calling the add method multiple times. This allows the SDK to re-use the same instance of the model to reduce RAM usage and rendering time, resulting in better performance.
Models are added using Models.add.
Refer to the 3D Models Guide for more information and interactive examples.