Skip to content

Commit

Permalink
docs: fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKreil committed Apr 5, 2024
1 parent 893457a commit b8948dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ <h2 id="use_url">Use our map server</h2>
<p>Just copy & paste the following code into your website.</p>
{{#code}}
<!-- add MapLibre JavaScript and CSS -->
<script src="https://tiles.versatiles.org/assets/maplibre/maplibre-gl.js"></script>
<link href="https://tiles.versatiles.org/assets/maplibre/maplibre-gl.css" rel="stylesheet" />
<script src="https://tiles.versatiles.org/assets/maplibre-gl/maplibre-gl.js"></script>
<link href="https://tiles.versatiles.org/assets/maplibre-gl/maplibre-gl.css" rel="stylesheet" />

<!-- add container for the map -->
<div id="map" style="width:100%;aspect-ratio:16/9"></div>
Expand All @@ -18,7 +18,7 @@ <h2 id="use_url">Use our map server</h2>
<script>
new maplibregl.Map({
container: 'map',
style: 'https://tiles.versatiles.org/styles/colorful.json'
style: 'https://tiles.versatiles.org/assets/styles/colorful.json'
});
</script>
{{/code}}
Expand Down

0 comments on commit b8948dc

Please sign in to comment.