Update README.md

This commit is contained in:
Andros Fenollosa 2018-12-16 21:44:03 +01:00 committed by GitHub
parent ae68459e21
commit 43c454458e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,12 +19,13 @@ Build the following result:
- Axios
- Riot
- Riot compiler
- Openstreetmap Tag template
``` html
<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 src="https://cdn.jsdelivr.net/gh/tanrax/openstreetmap-tag-map@1.0.0/tag.map" type="riot/tag"></script>
```
### 2 Mount Riot
@ -37,13 +38,7 @@ Build the following result:
</script>
```
### 3 Download and link the label template
``` html
<script src="map.tag" type="riot/tag"></script>
```
### 4 Add the HTML tag with your settings
### 3 Add the HTML tag with your settings
``` html
<map address="valencia" region="spain" width="100%" height="300"></map>