Type Alias CommonForwardAndReverseGeocodingOptions

CommonForwardAndReverseGeocodingOptions: BaseGeocodingOptions & {
    excludeTypes?: boolean;
    limit?: number;
    types?: GeocodingPlaceType[];
}

Type Declaration

  • OptionalexcludeTypes?: boolean

    Set to true to use all available feature types except those mentioned in types. Default value is false if types is specified.

  • Optionallimit?: number

    Maximum number of results to show. Must be between 1 and 10. For reverse geocoding with multiple types this must not be set or must be set to 1. Default is 5 for forward and 1 for reverse geocoding.

  • Optionaltypes?: GeocodingPlaceType[]

    Features of specified types to query. If not specified, default configuration of API is used (see https://docs.maptiler.com/cloud/api/geocoding/#PlaceTypeValues for the list). In case of reverse geocoding if just a single type is specified, then multiple nearby features of the single type can be returned, otherwise single feature for every specified type (or default types) can be returned.

Was this helpful?

Client JS
Reference
CommonForwardAndReverseGeocodingOptions