TomTom Maps for JavaScript
    Preparing search index...

    Type Alias MapLibreOptions

    MapLibreOptions: Omit<
        MapOptions,
        "style"
        | "attributionControl"
        | "transformRequest",
    >

    The MapLibre options for advanced map configuration.

    These are the MapLibre GL JS MapOptions without style, attributionControl and transformRequest, which the SDK sets itself. To add your own credits to the attribution, set TomTomMapParams.attribution instead. To send TomTom requests through a proxy of your own, set commonBaseURL. To hold or rewrite the map's requests, pass TomTomMapParams.transformRequest.

    They include options for:

    • Initial viewport (center, zoom, bearing, pitch)
    • Interaction controls (zoom, rotation, drag)
    • Rendering options (antialiasing, terrain)
    • Localization and accessibility