map grid
This commit is contained in:
parent
2a7324b133
commit
bb7d3c48ea
6 changed files with 98 additions and 44 deletions
|
@ -64,8 +64,12 @@
|
|||
<button style="background-color: #ffffd6;" onclick="showHideDiv('initiative-tracker')"><b>i</b></button>
|
||||
</div>
|
||||
<div id="map" style="position:absolute; transform-origin: top left; user-select: none;">
|
||||
<img id="map-background" src="https://rustystriker.dev/molly.jpg">
|
||||
<svg id="map-grid" xmlns="http://www.w3.org/2000/svg" vector-effect="non-scaling-stroke" style="position: absolute; top: 0px; left: 0px"></svg>
|
||||
<img id="map-background" src="https://rustystriker.dev/molly.jpg" onload="updateGrid()"
|
||||
onerror="alert('Failed loading map')">
|
||||
<svg id="map-grid" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0px; left: 0px">
|
||||
<g vector-effect="non-scaling-stroke" id="map-grid-horizontal" />
|
||||
<g vector-effect="non-scaling-stroke" id="map-grid-vertical" />
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue