Skip to content

Commit 2a9bc40

Browse files
committed
Added support for map keys; added map keys to demo and wrote guide for map keys
1 parent fdf1978 commit 2a9bc40

File tree

13 files changed

+1435
-6
lines changed

13 files changed

+1435
-6
lines changed

demo.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<h1 style="background-color:#AAAAAA;color:white">SVG Strip Map Generator - Demo</h1>
2323
<div>This is the demo for the Strip Map Generator.<br>Paste in your JSON and hit 'Generate Map'. Make sure to not have a variable declaration (i.e. <code>var line_name = ...</code>) or a trailing <code>;</code> in the JSON below or it will not work on certain browsers.</div>
2424
<div>If there are issues (for example, one of the sample maps doesn't render when you hit 'Generate Map'), please post an issue on <a target="_blank" href="https://github.com/Sparen/StripMapGen/issues">GitHub</a>. This may be due to an oversight, as the syntax parsing for this demo is stricter than the parsing when the library is hooked into normally.</div>
25+
<div>For a more complete example, press <button id="submit" onclick="resetUTA()">UTA Example</button> to display an example from elsewhere on this website.</div>
2526
<hr>
2627
<div id="demo_map"></div>
2728
<button id="submit" onclick="mapgen()">Generate Map</button>

0 commit comments

Comments
 (0)