mapbox / search-playground

Geocoding Debugging Tool
https://mapbox.com/search-playground
14 stars 4 forks source link
docs-site

Mapbox Geocoder Playground Tool

We’ve updated our search playground: https://mapbox.com/search-playground/ Internal debugging? Use this link instead. The Mapbox Geocoder Playground Tool is used to test geocoder results for forward and reverse geocoding and experiment with query parameters

Using the playground

Internal only:

The search bar is the equivalent of an API query. For a forward geocode, enter text or an address. For a reverse geocode, enter coordinates.

Forward Geocoding Enter a query in the search bar to get the coordinates and data about the feature.

Reverse Geocoding Click on the map to see the coordinates in the search bar and the features that match those coordinates will be returned in the suggestions list below the search bar.

Set query parameters Click the cog icon to open a GUI of the query parameters available in the geocoding API.

For more information, see the parameters section of the documentation.

Parameters available in the playground:

- Autocomplete
- Country filtering
- Type filtering
- Proximity biasing
- Results limit
- Language selection
- Strict mode for language

:warning: Internal use only

What you cannot do...

:x: Use it as a permanent endpoint

Run it locally with parcel

yarn install
yarn build
yarn start

Deploying

Deploys are managed by updating the hey-pages & publisher-production branches. To deploy run the following:

git checkout publisher-production

git merge master

git push

[Internal only] Follow the #publisher channel in slack to watch for a successful build/publish.