fix "Error: from-position not mapped" with worldCopyJump: true,

see https://groups.google.com/d/msg/osm-android-bikerouting/vQRm2S23ws8/eAY-RMRcJ14J
This commit is contained in:
Norbert Renner 2015-02-06 19:04:48 +01:00
parent 996a802b23
commit 32cde2b8e9

View file

@ -56,7 +56,8 @@
map = new L.Map('map', { map = new L.Map('map', {
layers: [osm], layers: [osm],
center: new L.LatLng(50.99, 9.86), center: new L.LatLng(50.99, 9.86),
zoom: 6 zoom: 6,
worldCopyJump: true
}); });
map.attributionControl.addAttribution( map.attributionControl.addAttribution(
'<a href="http://brouter.de/brouter" target="_blank">BRouter</a> &copy; Arndt Brenschede, ' '<a href="http://brouter.de/brouter" target="_blank">BRouter</a> &copy; Arndt Brenschede, '