Import mapsheets.svg

This commit is contained in:
2025-06-16 22:41:31 -07:00
parent 16fb0dab2e
commit 488ebb384b
12 changed files with 138 additions and 96 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" standalone="no"?>
<svg viewBox="-15.639999389648438 -129.2300262451172 2320.879638671875 1751.5654296875" xmlns="http://www.w3.org/2000/svg">
<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="http://localhost:8080/assets/css/map.css" type="text/css" />
<!-- <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="http://localhost:8080/assets/css/map.css" type="text/css" /> -->
<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/map.css" type="text/css" />
<style>
g[data-edge="north"] { --i: -2; }
g[data-edge="south"] { --i: 26; }
@@ -60,7 +61,8 @@
<rect id="background"/>
<g class="gameboard">
<use href="http://localhost:8080/assets/images/mapsheets.svg#map4"/>
<!-- <use href="http://localhost:8080/assets/images/mapsheets.svg#map4"/> -->
<use data-href="mapsheets.svg#map4"/>
<rect id="dots" fill="url(#asterisk)"/>
@@ -120,5 +122,6 @@
<g class="grid"/>
</g>
<script data-cols="33" data-rows="25" href="http://localhost:8080/map.js"/>
<script href="../../import_mapsheets.js"/>
<script data-cols="33" data-rows="25" href="../../map.js"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB