Package Exports
- @mapbox/mapbox-gl-geocoder
- @mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mapbox/mapbox-gl-geocoder) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Mapbox GL Geocoder 
A geocoder control for mapbox-gl-js using the Mapbox Geocoding API.
Usage
https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder/
Usage with a module bundler
This module exports a single class called MapboxGeocoder as its default export, so in browserify or webpack, you can require it like:
var MapboxGeocoder = require('@mapbox/mapbox-gl-geocoder');
Deeper dive
API Documentation
See API.md for complete reference.
Examples
- Add a geocoder to Mapbox GL JS
- Place the geocoder input outside the map
- Limit geocoder results to a named region
- Supplement geocoding search results from another data source
- Accept coordinates as input to a geocoder
- Bias geocoder results around the map view
Contributing
See CONTRIBUTING.md.