mapboxkex

This commit is contained in:
Walter Hupfeld 2024-02-18 18:47:20 +01:00
parent 42b00f4d01
commit 2d055ac66a

View File

@ -208,7 +208,7 @@ jQuery(document).ready(function(){
?> ?>
var mymap = L.map('detailmap').setView([51.66, 7.82], 17); var mymap = L.map('detailmap').setView([51.66, 7.82], 17);
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', { L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=<?=$mapbox_key?>', {
maxZoom: 18, maxZoom: 18,
minZoom:12, minZoom:12,
attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' + attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +