SDK JS
    Preparing search index...

    One placed vertex: the picked 3D position plus where it came from.

    interface DrawVertex {
        position: { height: number; lat: number; lng: number };
        provisional: boolean;
        source: "terrain" | "mesh";
    }
    Index

    Properties

    position: { height: number; lat: number; lng: number }

    lng/lat in degrees, height metres above the rendered ground datum.

    provisional: boolean

    True when the height awaits a DEM tile (resample on the map's next 'idle').

    source: "terrain" | "mesh"

    'mesh' = snapped to a 3D surface; 'terrain' = basemap/terrain fallback.