File tree Expand file tree Collapse file tree
herkunftcheck/herkunftcheck2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 < script src ="https://unpkg.com/leaflet-providers@latest/leaflet-providers.js "> </ script >
3737
3838
39- < script src ="script/map_1.1.5 .js "> </ script >
39+ < script src ="script/map_1.1.6 .js "> </ script >
4040
4141
4242 < script >
Original file line number Diff line number Diff line change @@ -5,13 +5,8 @@ function InitializeMapAndData() {
55
66 var map = L . map ( 'map' , { zoomControl : false } ) ;
77
8- /* L.tileLayer('https://{s}.basemaps.cartocdn.com/rastertiles/voyager_nolabels/{z}/{x}/{y}{r}.png', {
9- attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>',
10- subdomains: 'abcd',
11- maxZoom: 20
12- }).addTo(map);
13- */
148
9+ /*
1510 L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', {
1611 attribution: '© <a href="https://www.openstreetmap.org/copyright">OSM</a> & CartoDB',
1712 subdomains: 'abcd',
@@ -24,6 +19,16 @@ function InitializeMapAndData() {
2419 subdomains: 'abcd',
2520 maxZoom: 20,
2621 }).addTo(map);
22+ */ mapbox://styles/kobers/cm9e2m79p00fx01r3ahud1s52mapbox://styles/kobers/cm9e2m79p00fx01r3ahud1s52
23+
24+
25+ L . tileLayer ( 'https://api.mapbox.com/styles/v1/{id}/tiles/512/{z}/{x}/{y}@2x?access_token={accessToken}' , {
26+ id : 'kobers/cm9e2m79p00fx01r3ahud1s52' ,
27+ accessToken : 'pk.eyJ1Ijoia29iZXJzIiwiYSI6ImNsNjUwNTIzZzAxbmMzYm5vZGsxaTF2OTEifQ.dsJnTEm6J2YYWTN1W7ZvYA' ,
28+ tileSize : 512 ,
29+ zoomOffset : - 1 ,
30+ attribution : '© <a href="https://www.mapbox.com/">Mapbox</a>'
31+ } ) . addTo ( map ) ;
2732
2833
2934 // Create bounds object
You can’t perform that action at this time.
0 commit comments