From 7466ebadef54a45d01a8e64944d757bc62646284 Mon Sep 17 00:00:00 2001 From: Michael Kuck Date: Tue, 7 May 2019 17:55:10 +0200 Subject: [PATCH] Fix OSRM_CENTER not working (#303) --- scripts/replace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/replace.js b/scripts/replace.js index f5c34248..b2075365 100755 --- a/scripts/replace.js +++ b/scripts/replace.js @@ -35,7 +35,7 @@ for (const filepath of [leafletOptions, debug]) { // Mapbox uses LngLat if (options.match('-122.4536, 37.796')) options = options.replace('-122.4536, 37.796', lnglat) // Leaflet uses LatLng - else options = options.replace('38.8995, -77.0269', latlng) + else options = options.replace('38.8995,-77.0269', latlng) } // Save Leaflet Options