Add marker
|
@ -23,7 +23,7 @@
|
|||
<![endif]-->
|
||||
<style>
|
||||
header {
|
||||
background: url("{{ page.root }}background.png");
|
||||
background: url("{{ page.root }}static/background.png");
|
||||
}
|
||||
|
||||
header h1 {
|
||||
|
|
|
@ -17,8 +17,8 @@ root: ../
|
|||
<a href="https://minetest.rubenwardy.com/redcrab_nov13.zip">Download (.zip)</a>
|
||||
</p>
|
||||
|
||||
<link rel="stylesheet" href="{{ page.root }}leaflet.css" />
|
||||
<script src="{{ page.root }}leaflet.js"></script>
|
||||
<link rel="stylesheet" href="{{ page.root }}static/leaflet.css" />
|
||||
<script src="{{ page.root }}static/leaflet.js"></script>
|
||||
<style> .labelclass{position: absolute; background: rgba(255,0,255,0); font-size:20px;}</style>
|
||||
<div id="mapid" style="width: 100%; height: 500px;"></div>
|
||||
<script>
|
||||
|
@ -44,5 +44,5 @@ root: ../
|
|||
}
|
||||
MineTestMap.on('click', onMapClick);
|
||||
</script>
|
||||
<script src="markers.js" defer></script></body>
|
||||
<script src="{{ page.root }}static/markers.js" defer></script></body>
|
||||
</html>
|
||||
|
|
Before Width: | Height: | Size: 472 KiB After Width: | Height: | Size: 472 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 696 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 618 B |
|
@ -0,0 +1,3 @@
|
|||
L.marker([-10*mapZoom, -17*mapZoom]).addTo(MineTestMap)
|
||||
.bindPopup("Spawn");
|
||||
// .openPopup();
|