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

    Type Alias PointGeoBias

    A point to search around, optionally bounded by a radius.

    Without radiusMeters the point biases the ranking without restricting results; with it, results are confined to that circle.

    type PointGeoBias = {
        position: HasLngLat;
        radiusMeters?: number;
    }
    Index
    position: HasLngLat

    The point to search around, as [longitude, latitude] or any GeoJSON form carrying one.

    radiusMeters?: number

    Radius around position, in metres. Values of zero or less are ignored by the API.