mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-01 13:29:06 +02:00
Add map viewer based on Leaflet
This commit is contained in:
parent
fd4ce45885
commit
e922dd601e
10 changed files with 618 additions and 0 deletions
30
viewer/index.html
Normal file
30
viewer/index.html
Normal file
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue