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

    Type Alias ReverseGeocodingMandatoryParams

    Required parameters for reverse geocoding requests.

    You must provide them for any reverse geocoding service call.

    type ReverseGeocodingMandatoryParams = {
        position: HasLngLat;
    }
    Index
    position: HasLngLat

    Geographic position to reverse geocode.

    The longitude and latitude coordinates for which to retrieve address information. It accepts any format implementing the HasLngLat interface.