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:
parent
996a802b23
commit
32cde2b8e9
1 changed files with 2 additions and 1 deletions
|
|
@ -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> © Arndt Brenschede, '
|
'<a href="http://brouter.de/brouter" target="_blank">BRouter</a> © Arndt Brenschede, '
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue