mapboxkex
This commit is contained in:
parent
42b00f4d01
commit
2d055ac66a
@ -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 © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
|
attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
|
||||||
|
Loading…
Reference in New Issue
Block a user