diff --git a/src/index.js b/src/index.js index f2af0bee..c07caf14 100644 --- a/src/index.js +++ b/src/index.js @@ -94,7 +94,7 @@ function makeIcon(i, n) { } var plan = new ReversablePlan([], { - geocoder: Geocoder.nominatim(), + geocoder: Geocoder.nominatim({serviceUrl:leafletOptions.nominatim.url}), routeWhileDragging: true, createMarker: function(i, wp, n) { var options = {