TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ViewportPlacesAddCommonOptions

    The common options for adding a viewport places module.

    type ViewportPlacesAddCommonOptions = {
        id?: string;
        maxZoom?: number;
        minZoom?: number;
    }
    Index
    id?: string

    Optional unique identifier for the viewport places module.

    • If you don't provide it, a random ID is generated.
    • To update or remove this place module later, provide a fixed ID.
    maxZoom?: number

    Maximum zoom level at which the place module is visible.

    minZoom?: number

    Minimum zoom level at which the place module is visible.