diff --git a/www/external/easyPrint/easyPrint.css b/www/external/easyPrint/easyPrint.css
index 177e148..65523ea 100644
--- a/www/external/easyPrint/easyPrint.css
+++ b/www/external/easyPrint/easyPrint.css
@@ -1,20 +1,16 @@
-.leaflet-control-easyPrint a {
- background:#fff url(print.png) no-repeat 5px;
+.leaflet-control-easyPrint-button a {
+ background:#fff url(external/easyPrint/print.png) no-repeat 5px;
background-size:16px 16px;
display: block;
- }
-
-
-
-@media print {
-
- html {padding: 0px!important;}
- .leaflet-control-easyPrint-button{display: none!important;}
-
}
-#map {
+//@media print {
+ html {padding: 0px!important;}
+ .leaflet-control-easyPrint-button{display: none!important;}
+}
+
+//#map {
width: 1200;
height: 800;
}
diff --git a/www/index.html.de b/www/index.html.de
index eb7c421..87e3826 100755
--- a/www/index.html.de
+++ b/www/index.html.de
@@ -13,7 +13,6 @@
-
diff --git a/www/index.html.en b/www/index.html.en
index a426b51..449bc3a 100755
--- a/www/index.html.en
+++ b/www/index.html.en
@@ -13,7 +13,6 @@
-
diff --git a/www/map.js b/www/map.js
index cce968e..285edfa 100644
--- a/www/map.js
+++ b/www/map.js
@@ -206,5 +206,9 @@ $(document).ready(function() {
});
// print icon
- L.easyPrint().addTo(map);
+ L.easyPrint({
+ title: 'print map',
+ position: 'topright',
+ sizeModes: ['Current', 'A4Portrait', 'A4Landscape'],
+ }).addTo(map);
});
diff --git a/www/map.js.en b/www/map.js.en
index d63d3a5..95dc862 100644
--- a/www/map.js.en
+++ b/www/map.js.en
@@ -206,5 +206,9 @@ $(document).ready(function() {
});
// print icon
- L.easyPrint().addTo(map);
+ L.easyPrint({
+ title: 'print map',
+ position: 'topright',
+ sizeModes: ['Current', 'A4Portrait', 'A4Landscape'],
+ }).addTo(map);
});