feat: Center map and set zoom level

This commit is contained in:
moanos [he/him] 2024-09-27 13:10:14 +02:00
parent d66bb11695
commit 5fc91c2f4a

View File

@ -10,7 +10,9 @@
<script>
let map = new maplibregl.Map({
container: 'map',
style: 'https://tiles.versatiles.org/assets/styles/colorful.json'
style: 'https://tiles.versatiles.org/assets/styles/colorful.json',
center: [10.49, 50.68],
zoom: 5
}).addControl(new maplibregl.NavigationControl());
map.on('load', async () => {