On this page

    Edit model in custom editor

    This example shows how to create a simple 3D editor for 3D models. You can adjust the model’s position, altitude, scale, and rotation programmatically or via interactive controls and drag-and-drop.

    For editing models, we recommend using the 3D Editor in most cases. This is a demonstration of the SDK’s capabilities for very specific scenarios where you need to integrate an editor into your application.

    Key features

    • Dynamic loading: Initialize the splat model with properties from a JSON object (simulating a database record).
    • Interactive editing: Drag the model to reposition it, and use sliders to fine-tune altitude, scale, and rotation.
    • State management: Capture the updated properties to “save” them back to your backend.

    Learn more

    Check out the MapTiler GeoSplats SDK JS reference

    Add 3D scenes

    Was this helpful?

    GeoSplats SDK
    Examples
    Edit model in custom editor
    Edit model in custom editor