Skip to content

Commit

Permalink
Fix OSRM_CENTER not working (Project-OSRM#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikumi authored and danpat committed May 7, 2019
1 parent 096b622 commit 7466eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/replace.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7466eba

Please sign in to comment.