diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-02 09:08:36 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-02 09:08:36 +0100 |
commit | e922dd601e5e8c8cafb4f2439c210752f04b43d6 (patch) | |
tree | bf9699f66de65b6be8bd34cbd65de4518a570680 /viewer/index.html | |
parent | fd4ce45885db15374dd3f39ac424fb3475a06f4a (diff) | |
download | MinedMap-e922dd601e5e8c8cafb4f2439c210752f04b43d6.tar MinedMap-e922dd601e5e8c8cafb4f2439c210752f04b43d6.zip |
Add map viewer based on Leaflet
Diffstat (limited to 'viewer/index.html')
-rw-r--r-- | viewer/index.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/viewer/index.html b/viewer/index.html new file mode 100644 index 0000000..ca9116a --- /dev/null +++ b/viewer/index.html @@ -0,0 +1,30 @@ +<!doctype html> +<html> + <head> + <meta charset="utf-8" /> + <title>MinedMap</title> + <link rel="stylesheet" href="leaflet-0.8-dev/leaflet.css" /> + <script src="leaflet-0.8-dev/leaflet.js"></script> + <script src="MinedMap.js"></script> + + <style type="text/css"> + #map { + position: absolute; + top: 0; + right: 0; + left: 0; + bottom: 0; + } + + body, .leaflet-container { + background: #333; + } + </style> + </head> + <body> + <div id="map"></div> + <script type="text/javascript"> + createMap(); + </script> + </body> +</html> |