TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ViewportPlacesAddCommonOptions

    Common Options when adding a viewport places module.

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

    Properties

    Properties

    id?: string

    Optional unique identifier for the viewport places module.

    • If not provided, a random ID will be generated.
    • If you need to keep updating or removing 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.