Skip to content

Commit 63d970b

Browse files
Use absolute path for Nominatim serviceUrl
Allows example to be run offline via file://
1 parent b83587d commit 63d970b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Control.Geocoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309

310310
L.Control.Geocoder.Nominatim = L.Class.extend({
311311
options: {
312-
serviceUrl: '//nominatim.openstreetmap.org/',
312+
serviceUrl: 'https://nominatim.openstreetmap.org/',
313313
geocodingQueryParams: {},
314314
reverseQueryParams: {},
315315
htmlTemplate: function(r) {

0 commit comments

Comments
 (0)