TomTom Maps for JavaScript
    Preparing search index...

    Type Alias Landmarks3DConfig

    Landmarks3DConfig: KnobConfigOf<
        { [ID in Landmarks3DKnobId]: Landmarks3DKnobValueOf<ID> },
    >

    The landmark knobs an app sets, as Landmarks3D.getConfig returns them. Each knob id is its key in here, and it's plain JSON.

    • Every knob but visible follows the base map's 3D buildings while unset.
    • While a Buildings3D draws, the landmarks follow its buildings instead: texture is detail, there's no wall gradient, which verticalGradient can't turn on, and every zoom up to maxZoom.
    const config: Landmarks3DConfig = { color: '#c8b28a', opacity: 0.9 };
    const authored: Landmarks3DConfig = { texture: 'color' }; // the landmarks' own colours