Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Use demotiles for simple-map.html example (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
wipfli authored Jun 3, 2021
1 parent 8f15771 commit 58bafb7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/pages/example/simple-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
<script>
var map = new maplibregl.Map({
container: 'map', // container id
style:
'https://api.maptiler.com/maps/streets/style.json?key=get_your_own_OpIi9ZULNHzrESv6T2vL', // style URL
center: [-74.5, 40], // starting position [lng, lat]
zoom: 9 // starting zoom
style: 'https://demotiles.maplibre.org/style.json', // style URL
center: [0, 0], // starting position [lng, lat]
zoom: 1 // starting zoom
});
</script>

0 comments on commit 58bafb7

Please sign in to comment.