{"id":13426312,"url":"https://github.com/mapbox/mapbox-gl-geocoder","last_synced_at":"2025-03-15T21:31:03.770Z","repository":{"id":38421697,"uuid":"47950036","full_name":"mapbox/mapbox-gl-geocoder","owner":"mapbox","description":"Geocoder control for mapbox-gl-js using Mapbox Geocoding API","archived":false,"fork":false,"pushed_at":"2024-05-22T14:11:10.000Z","size":2830,"stargazers_count":356,"open_issues_count":108,"forks_count":182,"subscribers_count":116,"default_branch":"main","last_synced_at":"2024-06-11T17:12:22.405Z","etag":null,"topics":["geocoding","mapbox-gl-js","plugin"],"latest_commit_sha":null,"homepage":"https://mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapbox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-14T03:29:56.000Z","updated_at":"2024-06-18T12:18:40.476Z","dependencies_parsed_at":"2023-11-16T17:28:52.450Z","dependency_job_id":"c9e46b67-f47d-4f9a-b870-ddede46db32d","html_url":"https://github.com/mapbox/mapbox-gl-geocoder","commit_stats":{"total_commits":447,"total_committers":58,"mean_commits":7.706896551724138,"dds":0.6845637583892618,"last_synced_commit":"056c09c8e40a912c0ac8b977ae80a2a89b005d13"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fmapbox-gl-geocoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fmapbox-gl-geocoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fmapbox-gl-geocoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fmapbox-gl-geocoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapbox","download_url":"https://codeload.github.com/mapbox/mapbox-gl-geocoder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242442999,"owners_count":20129011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geocoding","mapbox-gl-js","plugin"],"created_at":"2024-07-31T00:01:31.592Z","updated_at":"2025-03-15T21:31:03.363Z","avatar_url":"https://github.com/mapbox.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"Mapbox GL Geocoder [![Build Status](https://travis-ci.com/mapbox/mapbox-gl-geocoder.svg?branch=master)](https://travis-ci.com/mapbox/mapbox-gl-geocoder)\n---\n\nA geocoder control for [mapbox-gl-js](https://github.com/mapbox/mapbox-gl-js) using the [Mapbox Geocoding API](https://docs.mapbox.com/api/search/#geocoding). For a JavaScript geocoder without a graphical user interface see the [Mapbox SDK for JS](https://github.com/mapbox/mapbox-sdk-js/blob/master/docs/services.md#geocoding).\n\n### Usage\n\n* https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder/\n* https://docs.mapbox.com/mapbox-gl-js/example/?search=mapbox-gl-geocoder\n\n**If you are supporting older browsers, you will need to use a polyfill.** We recommend working with [@babel/polyfill](https://babeljs.io/docs/en/babel-polyfill).\n\n### Usage with a module bundler\n\n```bash\nnpm install --save @mapbox/mapbox-gl-geocoder\n```\n\n```js\nimport MapboxGeocoder from '@mapbox/mapbox-gl-geocoder';\nimport '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css';\n...\nconst geocoder = new MapboxGeocoder({\n    accessToken: mapboxgl.accessToken,\n    mapboxgl: mapboxgl\n});\n\n```\n\n###  Using without a Map\nIt is possible to use the plugin without it being placed as a control on a mapbox-gl map. Keep in mind that the Mapbox [Terms of Service](https://www.mapbox.com/legal/tos#[GAGA]) require that POI search results be shown on a Mapbox map. If you don't need POIs, you can exclude them from your search results with the `options.types` parameter  when constructing a new Geocoder. \n\n### Deeper dive\n\n#### API Documentation\n\nSee [API.md](https://github.com/mapbox/mapbox-gl-geocoder/blob/master/API.md) for complete reference.\n\n#### Examples\n\nSee [https://docs.mapbox.com/mapbox-gl-js/examples/#geocoder](https://docs.mapbox.com/mapbox-gl-js/examples/#geocoder).\n\n### Contributing\n\nSee [CONTRIBUTING.md](https://github.com/mapbox/mapbox-gl-geocoder/blob/master/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbox%2Fmapbox-gl-geocoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapbox%2Fmapbox-gl-geocoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbox%2Fmapbox-gl-geocoder/lists"}