react-map-gl-geocoder
Advanced tools
Comparing version 1.4.4 to 1.4.5
{ | ||
"name": "react-map-gl-geocoder", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"description": "React wrapper for mapbox-gl-geocoder for use with react-map-gl", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -26,3 +26,3 @@ # react-map-gl-geocoder | ||
- `onViewportChange` {Function} Required. | ||
- `mapboxApiAccessToken` {String} Required. | ||
- `mapboxApiAccessToken` {String} Required. If not passed in as prop, it will try to default it to value set on `MapboxAccessToken` environment variable or URL query param `?access_token=TOKEN`. See https://uber.github.io/react-map-gl/#/Documentation/getting-started/about-mapbox-tokens for more details. | ||
- `zoom` {Number} On geocoded result what zoom level should the map animate to when a `bbox` isn't found in the response. If a `bbox` is found the map will fit to the `bbox`. (optional, default `16`) | ||
@@ -29,0 +29,0 @@ - `flyTo` {Boolean} If false, animating the map to a selected result is disabled. (optional, default `true`) |
1465746