Add osm-map-nano
This commit is contained in:
commit
bedef43e13
22 changed files with 739 additions and 0 deletions
20
scripts/test_template.html
Normal file
20
scripts/test_template.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>OSM Map Test : {{test_name}}</title>
|
||||
<style>
|
||||
body { background: #333; color: #ddd}
|
||||
</style>
|
||||
<script src="{{bundle}}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="canvas-test"></canvas>
|
||||
<script src="{{test_script}}"></script>
|
||||
<script>
|
||||
fetch('{{data}}')
|
||||
.then(response => response.text())
|
||||
.then(data => { test(document.getElementById('canvas-test'), data); } );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue