feat: Use own style to make use of selfhosted versatiles server

This commit is contained in:
moanos [he/him] 2024-09-28 13:55:27 +02:00
parent 70e105eb22
commit 6f10bfca80

View File

@ -11,9 +11,10 @@
<!-- start map --> <!-- start map -->
<script> <script>
let map = new maplibregl.Map({ let map = new maplibregl.Map({
container: 'map', container: 'map',
style: '{% settings_value "MAP_TILE_SERVER" %}/assets/styles/colorful.json', style: '{% static "/fellchensammlung/map/styles/colorful.json" %}',
center: [10.49, 50.68], center: [10.49, 50.68],
zoom: 5 zoom: 5
}).addControl(new maplibregl.NavigationControl()); }).addControl(new maplibregl.NavigationControl());