Skip to content

Commit 01fb282

Browse files
LiaanMsimon04
authored andcommitted
Update Mapbox Geocoding URL
Closes #192.
1 parent c926e1e commit 01fb282

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The plugin supports many different data providers:
1616
* [OSM](https://www.openstreetmap.org/)/[Nominatim](https://wiki.openstreetmap.org/wiki/Nominatim)
1717
* [Bing Locations API](http://msdn.microsoft.com/en-us/library/ff701715.aspx)
1818
* [Google Geocoding API](https://developers.google.com/maps/documentation/geocoding/)
19-
* [Mapbox Geocoding](https://www.mapbox.com/developers/api/geocoding/)
19+
* [Mapbox Geocoding](https://www.mapbox.com/api-documentation/#geocoding)
2020
* [MapQuest Geocoding API](http://developer.mapquest.com/web/products/dev-services/geocoding-ws)
2121
* [What3Words](http://what3words.com/)
2222
* [Photon](http://photon.komoot.de/)

src/geocoders/mapbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { getJSON } from '../util';
44
export default {
55
class: L.Class.extend({
66
options: {
7-
serviceUrl: 'https://api.tiles.mapbox.com/v4/geocode/mapbox.places-v1/',
7+
serviceUrl: 'https://api.mapbox.com/geocoding/v5/mapbox.places/',
88
geocodingQueryParams: {},
99
reverseQueryParams: {}
1010
},

0 commit comments

Comments
 (0)