From 32cde2b8e9bd2bcad4bef833ec7f7a47c04da834 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Fri, 6 Feb 2015 19:04:48 +0100 Subject: [PATCH] fix "Error: from-position not mapped" with worldCopyJump: true, see https://groups.google.com/d/msg/osm-android-bikerouting/vQRm2S23ws8/eAY-RMRcJ14J --- js/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/index.js b/js/index.js index 47b4db6..ceed328 100644 --- a/js/index.js +++ b/js/index.js @@ -56,7 +56,8 @@ map = new L.Map('map', { layers: [osm], center: new L.LatLng(50.99, 9.86), - zoom: 6 + zoom: 6, + worldCopyJump: true }); map.attributionControl.addAttribution( 'BRouter © Arndt Brenschede, '