Create example.html

This commit is contained in:
Andros Fenollosa 2018-12-14 13:32:36 +01:00 committed by GitHub
parent aa7b68e18a
commit e9eb60f7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
example.html Normal file
View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/riot/3.13.2/riot.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/riot/3.13.2/riot+compiler.min.js"></script>
<script src="map.tag" type="riot/tag"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
riot.mount('*')
});
</script>
</head>
<body>
<map address="valencia" region="spain" delay="0" width="100%" height="300"></map>
</body>
</html>