openstreetmap-tag-map/example.html
2018-12-16 21:47:34 +01:00

20 lines
703 B
HTML

<!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="https://cdn.jsdelivr.net/gh/tanrax/openstreetmap-tag-map@1.0.0/tag.map" 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>