This is an automated email from the git hooks/post-receive script.

steinm-guest pushed a commit to branch master
in repository routino.

commit cc44ea0620a40884b86b8d8eb88653d3221aa911
Author: Uwe Steinmann <ste...@debian.org>
Date:   Tue Apr 22 13:34:40 2014 +0200

    set center of map
    
    older leaflet versions like the one in debian squeeze seem to need it
---
 debian/patches/maploader | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/maploader b/debian/patches/maploader
index 306a591..2f2d226 100644
--- a/debian/patches/maploader
+++ b/debian/patches/maploader
@@ -21,3 +21,14 @@ Author: Uwe Steinmann <ste...@debian.org>
  
      load_js(location.pathname.replace(/\.html.*/,".openlayers.js"));
     }
+--- a/web/www/routino/router.leaflet.js
++++ b/web/www/routino/router.leaflet.js
+@@ -744,6 +744,8 @@
+               maxBounds: 
L.latLngBounds(L.latLng(mapprops.southedge,mapprops.westedge),L.latLng(mapprops.northedge,mapprops.eastedge))
+               });
+ 
++ map.setView({lng: 0, lat: 0}, 2);
++
+  // Add map tile layers
+ 
+  var baselayers={};

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/routino.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to