diff --git a/www/index.html.de b/www/index.html.de index 32fdf5d..0ad01b0 100755 --- a/www/index.html.de +++ b/www/index.html.de @@ -13,7 +13,6 @@ - @@ -34,8 +33,7 @@ - - + diff --git a/www/index.html.en b/www/index.html.en index 158edff..481ec43 100755 --- a/www/index.html.en +++ b/www/index.html.en @@ -13,7 +13,6 @@ - @@ -34,8 +33,7 @@ - - + diff --git a/www/map.js b/www/map.js index 285edfa..64cb34d 100644 --- a/www/map.js +++ b/www/map.js @@ -206,9 +206,8 @@ $(document).ready(function() { }); // print icon - L.easyPrint({ + L.control.browserPrint({ title: 'print map', position: 'topright', - sizeModes: ['Current', 'A4Portrait', 'A4Landscape'], }).addTo(map); }); diff --git a/www/map.js.en b/www/map.js.en index 95dc862..d1e6ca3 100644 --- a/www/map.js.en +++ b/www/map.js.en @@ -206,9 +206,8 @@ $(document).ready(function() { }); // print icon - L.easyPrint({ + L.control.browserPrint({ title: 'print map', position: 'topright', - sizeModes: ['Current', 'A4Portrait', 'A4Landscape'], }).addTo(map); });