From a7362fe2be4d23b62017bb186a2699e5414e2e11 Mon Sep 17 00:00:00 2001 From: RPJosh Date: Fri, 8 Sep 2023 16:15:23 +0200 Subject: [PATCH] Fix search URL for locations --- js/Control.Geocoder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Control.Geocoder.js b/js/Control.Geocoder.js index e419ce2..b9e4831 100644 --- a/js/Control.Geocoder.js +++ b/js/Control.Geocoder.js @@ -340,7 +340,7 @@ }, geocode: function(query, cb, context) { - L.Control.Geocoder.jsonp(this.options.serviceUrl + 'search/', L.extend({ + L.Control.Geocoder.jsonp(this.options.serviceUrl + 'search', L.extend({ q: query, limit: 5, format: 'json',