Type Alias CommonForwardAndReverseGeocodingOptions
CommonForwardAndReverseGeocodingOptions: BaseGeocodingOptions & {
excludeTypes?: boolean;
limit?: number;
types?: GeocodingPlaceType[];
}
excludeTypes?: boolean;
limit?: number;
types?: GeocodingPlaceType[];
}
Type Declaration
OptionalexcludeTypes?: booleanOptionallimit?: numberMaximum number of results to show. Must be between 1 and 10. For reverse geocoding with multiple
typesthis 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.
Set to
trueto use all available feature types except those mentioned intypes. Default value isfalseiftypesis specified.