This is the documentation of version 1.0.0-rc.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias Landmarks3DOptions

    Configuration for the Landmarks3D plugin.

    type Landmarks3DOptions = {
        displayMode?: Landmarks3DDisplayMode;
        maxZoom?: number;
        minZoom?: number;
        visible?: boolean;
        withCredentials?: boolean;
    }
    Index

    Initial display mode for the landmarks. To change it at runtime, call Landmarks3D.setDisplayMode.

    'inherited'

    maxZoom?: number

    Maximum zoom at which landmarks are rendered.

    The basemap 3D building layer's maximum zoom, so landmarks disappear together with it (falls back to 22 when that layer is absent).

    minZoom?: number

    Minimum zoom at which landmarks are rendered.

    The basemap 3D building layer's minimum zoom, so landmarks appear together with it (falls back to 10 when that layer is absent).

    visible?: boolean

    Whether the landmarks are initially visible. To change it at runtime, call Landmarks3D.setVisible.

    true

    withCredentials?: boolean

    Whether each tile request sends credentials: 'include', so a proxy session cookie travels with it. By default, this tracks the SDK's proxy config, so tiles behave like every other SDK request. Set it explicitly only to override that.

    Auto-detected — true when the SDK is configured for a credentialed proxy (no apiKey + non-default commonBaseURL).