We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67f856f commit 160b14bCopy full SHA for 160b14b
src/geocoders/nominatim.js
@@ -33,7 +33,7 @@ module.exports = {
33
},
34
35
geocode: function(query, cb, context) {
36
- Util.jsonp(this.options.serviceUrl + 'search/', L.extend({
+ Util.jsonp(this.options.serviceUrl + 'search', L.extend({
37
q: query,
38
limit: 5,
39
format: 'json',
@@ -60,7 +60,7 @@ module.exports = {
60
61
62
reverse: function(location, scale, cb, context) {
63
- Util.jsonp(this.options.serviceUrl + 'reverse/', L.extend({
+ Util.jsonp(this.options.serviceUrl + 'reverse', L.extend({
64
lat: location.lat,
65
lon: location.lng,
66
zoom: Math.round(Math.log(scale / 256) / Math.log(2)),
0 commit comments