@types/mapbox__mapbox-gl-geocoder 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,8 +8,8 @@ This package contains type definitions for @mapbox/mapbox-gl-geocoder (https://g
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-gl-geocoder.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Sat,
|
|
12
|
-
* Dependencies: [@types/geojson](https://npmjs.com/package/@types/geojson), [
|
|
11
|
+
* Last updated: Sat, 21 Feb 2026 05:22:18 GMT
|
|
12
|
+
* Dependencies: [@types/geojson](https://npmjs.com/package/@types/geojson), [mapbox-gl](https://npmjs.com/package/mapbox-gl)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
15
15
|
These definitions were written by [makspetrov](https://github.com/Nosfit), and [Dmytro Gokun](https://github.com/dmytro-gokun).
|
|
@@ -53,7 +53,7 @@ declare namespace MapboxGeocoder {
|
|
|
53
53
|
* or [`fitBounds`](https://docs.mapbox.com/mapbox-gl-js/api/#map#fitbounds) method providing control over the animation of the transition.
|
|
54
54
|
* @default true
|
|
55
55
|
*/
|
|
56
|
-
flyTo?: boolean | mapboxgl.
|
|
56
|
+
flyTo?: boolean | mapboxgl.EasingOptions | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* a geographical point given as an object with `latitude` and `longitude` properties, or the string 'ip' to use a user's IP address location. Search results closer to this point will be given higher priority.
|
|
59
59
|
*/
|
|
@@ -331,11 +331,11 @@ declare class MapboxGeocoder implements mapboxgl.IControl {
|
|
|
331
331
|
* If an object, it will be passed as `options` to the map [`flyTo`](https://docs.mapbox.com/mapbox-gl-js/api/#map#flyto) or [`fitBounds`](https://docs.mapbox.com/mapbox-gl-js/api/#map#fitbounds)
|
|
332
332
|
* method providing control over the animation of the transition.
|
|
333
333
|
*/
|
|
334
|
-
setFlyTo(flyTo: boolean | mapboxgl.
|
|
334
|
+
setFlyTo(flyTo: boolean | mapboxgl.EasingOptions): this;
|
|
335
335
|
/**
|
|
336
336
|
* Get the parameters used to fly to the selected response, if any
|
|
337
337
|
*/
|
|
338
|
-
getFlyTo(): boolean | mapboxgl.
|
|
338
|
+
getFlyTo(): boolean | mapboxgl.EasingOptions;
|
|
339
339
|
/**
|
|
340
340
|
* Get the value of the placeholder string
|
|
341
341
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/mapbox__mapbox-gl-geocoder",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "TypeScript definitions for @mapbox/mapbox-gl-geocoder",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-gl-geocoder",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"scripts": {},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@types/geojson": "*",
|
|
29
|
-
"
|
|
29
|
+
"mapbox-gl": "^3.13.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {},
|
|
32
|
-
"typesPublisherContentHash": "
|
|
32
|
+
"typesPublisherContentHash": "85fb53125fb22887fe4cb8281cff0da4950d51dcec04a4186edc3de8c78fb105",
|
|
33
33
|
"typeScriptVersion": "5.2"
|
|
34
34
|
}
|