aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/assets/map.html
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-08-05 08:48:10 +0200
committerChristian Schneppe <christian@pix-art.de>2018-08-05 09:08:03 +0200
commit7414a4e5a2567b312099e82f818d46608d8bbdfb (patch)
treedec2ca14e2f822551cd19d5c4c6a4f92d8ff3f3d /src/main/assets/map.html
parentaba375e64eee66ce0454ce791506718c4f6d62a0 (diff)
update Leaflet to version 1.3.3
Diffstat (limited to 'src/main/assets/map.html')
-rw-r--r--src/main/assets/map.html13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/main/assets/map.html b/src/main/assets/map.html
index 6d5784336..da45d9ad9 100644
--- a/src/main/assets/map.html
+++ b/src/main/assets/map.html
@@ -16,7 +16,6 @@
<style>
#map{width:100%;height:100%;position:fixed;top:0px;left:0px;right:0px;bottom:0px}
-
</style>
<div id='map'>
@@ -47,7 +46,7 @@
var map = L.map('map', {
zoomControl: true,
- attributionControl: false
+ attributionControl: true
}).setView([getUrlParameter('lat'), getUrlParameter('lon')], 15);
}
@@ -66,10 +65,6 @@
} else if (typeof getUrlParameter('lat') !== 'undefined' && typeof getUrlParameter('lon') !== 'undefined' && typeof getUrlParameter('name') === 'undefined') {
var marker = L.marker([getUrlParameter('lat'), getUrlParameter('lon')]).addTo(map);
}
-
-
-
- </script>
-
- </body>
- </html>
+ </script>
+ </body>
+</html> \ No newline at end of file