TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CalculateMapCenterOptions

    Options for calculating map center.

    type CalculateMapCenterOptions = {
        map: TomTomMap | Map;
        surroundingElements: (HTMLElement | string)[];
    }
    Index

    Properties

    map: TomTomMap | Map

    The TomTomMap instance or MapLibre map instance

    surroundingElements: (HTMLElement | string)[]

    Array of HTML elements or DOM selector strings that are positioned over the map