Leaflet

      Kommentare deaktiviert für Leaflet

#mapid { height: 180px; }

var mymap = L.map(‚mapid‘).setView([51.505, -0.09], 13);

L.tileLayer(‚https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}‘, {
attribution: ‚Map data © OpenStreetMap contributors, Imagery © Mapbox‚,
maxZoom: 18,
id: ‚mapbox/streets-v11‘,
tileSize: 512,
zoomOffset: -1,
accessToken: ‚your.mapbox.access.token‘
}).addTo(mymap);