aboutsummaryrefslogtreecommitdiff
path: root/test-carte.html
diff options
context:
space:
mode:
authorClyhtsuriva Synck <clyhtsuriva>2020-03-01 15:14:15 +0100
committerClyhtsuriva Synck <clyhtsuriva>2020-03-01 15:14:15 +0100
commit703c1c623892d69d8e24af68b31d84495301ca02 (patch)
tree743b32ed4cc4a5d597b4fbc5726e0c3e52bf7c7b /test-carte.html
parentf33d24f47fa9d39e687d55cff1de9b4cc4ceb033 (diff)
initial files
Diffstat (limited to 'test-carte.html')
-rw-r--r--test-carte.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/test-carte.html b/test-carte.html
new file mode 100644
index 0000000..d7cc20b
--- /dev/null
+++ b/test-carte.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Carte de test</title>
+ <meta charset="UTF-8"/>
+ <link rel="stylesheet" href="leaflet.css"/>
+ <script src="leaflet.js"></script>
+ </head>
+ <body>
+ <p><b>Carte de test</b></p>
+ <div id="carte" style="width: 600px; height: 400px"></div>
+ <script>
+ var map = L.map("carte");
+ map.setView({lat: 48.9559156 , lon: 2.338811599999854}, 10);
+ url="https://{s}.tile.openstreetmap.org" + "/{z}/{x}/{y}.png";
+ var layer = L.tileLayer(url);
+ layer.addTo(map);
+ var m = L.marker({lat: 48.9559156, lon: 2.338811599999854});
+ m.addTo(map);
+ m.bindPopup('<a href="http://www.iutv.univ-paris13.fr/">IUT</a>');
+ </script>
+ </body>
+</html>
+