-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ability to add annotations
- Loading branch information
1 parent
c68401e
commit fb75a51
Showing
11 changed files
with
809 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<link rel="icon" type="image/png" href="favicon-32.png" /> | ||
<link rel="stylesheet" type="text/css" href="style.css" media="screen" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" /> | ||
|
||
</head> | ||
<body> | ||
<pre id="editor"></pre> | ||
<div id="options"> | ||
<label> | ||
<a href="#" id="sample">Sample Map</a> | ||
</label> | ||
<label> | ||
<a href="#" target="_blank" id="download">Download</a> | ||
</label> | ||
|
||
<label> | ||
<a href="#" target="_blank" id="toowm">Generate OWM</a> | ||
</label> | ||
|
||
<label> | ||
<input type="button" value="Share" id="share"> | ||
</label> | ||
|
||
<input type="input" value="" id="shareurl"> | ||
<label> | ||
width: | ||
<input type="input" value="1500" id="width"> | ||
</label> | ||
<label> | ||
Height: | ||
<input type="input" value="1000" id="height"> | ||
</label> | ||
<label> | ||
<input type="button" value="Apply" id="apply"> | ||
</label> | ||
<!-- Rounded switch --> | ||
<label class="switch"> | ||
<input type="checkbox" id="annotations"> | ||
<span class="slider round"></span> | ||
</label> | ||
|
||
|
||
|
||
</div> | ||
<div id="review"> | ||
<div id="error"></div> | ||
</div> | ||
<div id="status"></div> | ||
<a class="github-fork-ribbon" href="https://github.com/owulveryck/wardleyToGo" data-ribbon="wardleyToGo on GitHub" title="wardleyToGo on GitHub">wardleyToGo on GitHub</a> | ||
<script src="ace/ace.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="ace/ext-language_tools.js"></script> | ||
|
||
|
||
<script src="script.js"></script> | ||
<script src="svg-pan-zoom.min.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="wasm_exec.js"></script> | ||
<script> | ||
const go = new Go(); | ||
WebAssembly.instantiateStreaming(fetch("wtg.wasm"), go.importObject) | ||
.then((result) => { | ||
go.run(result.instance); | ||
}) | ||
.then(instance => { | ||
onceLoaded(document); | ||
}); | ||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.