Description: Use local installation of leaflet or openlayers
Author: Uwe Steinmann <steinm@debian.org>
Forwarded: not-needed

--- a/web/www/routino/maploader.js
+++ b/web/www/routino/maploader.js
@@ -29,11 +29,11 @@ class MapLoader
 
     if (mapprops.library === "leaflet")
       {
-       this.load_js ("../leaflet/leaflet.js", true)
-       .then(() => { this.load_js ("../leaflet/Leaflet.fullscreen.min.js"); } );
+//       this.load_js ("../leaflet/leaflet.js", true)
+//       .then(() => { this.load_js ("../leaflet/Leaflet.fullscreen.min.js"); } );
 
-       this.load_css("../leaflet/leaflet.css");
-       this.load_css("../leaflet/leaflet.fullscreen.css");
+       this.load_css("/javascript/leaflet/leaflet.css");
+       this.load_css("/javascript/leaflet/leaflet.fullscreen.css");
 
        this.load_js(location.pathname.replace(/\.html.*/, ".common.js"));
        this.load_js(location.pathname.replace(/\.html.*/, ".leaflet.js"));
--- a/web/www/routino/router.leaflet.js
+++ b/web/www/routino/router.leaflet.js
@@ -64,6 +64,8 @@ function map_init()             // calle
                                         L.latLng(mapprops.northedge, mapprops.eastedge))
              });
 
+ map.setView({lng: 0, lat: 0}, 2);
+
  // Add map tile layers
 
  let layerMap=[], baselayers={};
