mapbox-gl-geocoder
mapbox-gl-geocoder copied to clipboard
Geocoder control for mapbox-gl-js using Mapbox Geocoding API
Placing the component with config ``` const geocoder = new MapboxGeocoder({ accessToken: mapboxgl.accessToken, mapboxgl: mapboxgl, collapsed: true, flyTo: { duration: 0 }, clearOnBlur: true, }); map.addControl(geocoder, "bottom-right"); ``` will creating...
Take a look at this JSFiddle: https://jsfiddle.net/e59toaz4/ Make sure you expand the preview window so that you can see the geocode input. If you type/enter a place and click one...
- Upgrades Node version to enable npm `overrides` feature in `packages.json` - Specifies `minimist` version to comply with latest dependabot issues
Using reverse coding if there is a space at the beginning or end of coordinates throws this error. Solution: Trim whitespaces on input   The...
I have added the Mapbox geocoder to my web map in the top-left position and made it collapsible.  As raw HTML it looks and works as expected.  However,...
After I packaged and deployed the project, the location search function appeared: There was an error reaching the server error. I checked the network request and found that no token...
When selecting a location with the `naturalEarth` projection, places selected from the geocoder will fly to the wrong location (but the pin is placed in the correct location). This does...
My application was using below endpoint, which was working fine till yesterday. API: **https4**://api.mapbox.com/geocoding/v5/mapbox.places/{address}.json/ Suddenly this endpoint started failing and after replacing https4 with https it started working again. Was...
## Description PR adds `version="v5"|"v6"` flag to the options of `MapboxGeocoder` class that allows using v6 endpoint instead of default v5 when geocoding. Gl-geocoder in v6 mode can initiate `forward`...
I'm creating a Svelte component for a geocoder (student project). I've exported all of the geocoder default options, and all works fine, except for the reverseMode option. I don't think...