@types/mapbox__mapbox-gl-geocoder
Advanced tools
Comparing version 4.7.3 to 4.7.4
@@ -161,2 +161,26 @@ // Type definitions for @mapbox/mapbox-gl-geocoder 4.7 | ||
localGeocoderOnly?: boolean | undefined; | ||
/** | ||
* Specify whether to return autocomplete results or not. When autocomplete is enabled, | ||
* results will be included that start with the requested string, rather than just responses | ||
* that match it exactly. (optional, default true) | ||
*/ | ||
autocomplete?: boolean | undefined; | ||
/** | ||
* Specify whether the Geocoding API should attempt approximate, as well as exact, matching | ||
* when performing searches, or whether it should opt out of this behavior and only attempt | ||
* exact matching. (optional, default true) | ||
*/ | ||
fuzzyMatch?: boolean | undefined; | ||
/** | ||
* Specify whether to request additional metadata about the recommended navigation | ||
* destination corresponding to the feature or not. Only applicable for address features. | ||
* (optional, default false) | ||
*/ | ||
routing?: boolean | undefined; | ||
/** | ||
* Filter results to geographic features whose characteristics are defined differently by | ||
* audiences belonging to various regional, cultural, or political groups. (optional, | ||
* default "us") | ||
*/ | ||
worldview?: string | undefined; | ||
} | ||
@@ -256,2 +280,10 @@ } | ||
getOrigin(): string; | ||
setAutocomplete(value: boolean): this; | ||
getAutocomplete(): boolean; | ||
setFuzzyMatch(value: boolean): this; | ||
getFuzzyMatch(): boolean; | ||
setRouting(value: boolean): this; | ||
getRouting(): boolean; | ||
setWorldview(code: string): this; | ||
getWorldview(): string; | ||
/** | ||
@@ -258,0 +290,0 @@ * Subscribe to events that happen within the plugin. |
{ | ||
"name": "@types/mapbox__mapbox-gl-geocoder", | ||
"version": "4.7.3", | ||
"version": "4.7.4", | ||
"description": "TypeScript definitions for @mapbox/mapbox-gl-geocoder", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-gl-geocoder", | ||
}, | ||
"typesPublisherContentHash": "ac60019e648e6f3f2857ae2961b129400b9f4775a9bf2a22627453599256c68e", | ||
"typeScriptVersion": "4.0" | ||
"typesPublisherContentHash": "ada21317f857b8bcf0cdfb9c5b7a6387916fcde63712cd6aa7b6b7af1da22401", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 15 Aug 2022 21:02:37 GMT | ||
* Dependencies: [@types/mapbox-gl](https://npmjs.com/package/@types/mapbox-gl), [@types/geojson](https://npmjs.com/package/@types/geojson) | ||
* Last updated: Tue, 08 Aug 2023 19:32:50 GMT | ||
* Dependencies: [@types/geojson](https://npmjs.com/package/@types/geojson), [@types/mapbox-gl](https://npmjs.com/package/@types/mapbox-gl) | ||
* Global values: `MapboxGeocoder` | ||
@@ -15,0 +15,0 @@ |
17886
295