This repository was archived by the owner on Dec 6, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ const createMap = (opts) => {
1515
1616 let feature_groups = [ ] ;
1717 const opencyclemap_phys_osm = new L . TileLayer (
18- 'http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=f09a38fa87514de4890fc96e7fe8ecb1' , {
19- maxZoom : 14 ,
20- minZoom : 4 ,
21- format : 'image/png' ,
22- transparent : true
18+ 'https://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png' , {
19+ maxZoom : 15 ,
20+ noWrap : true ,
21+ attribution : 'Map tiles by Carto, under CC BY 3.0. Data by OpenStreetMap, under ODbL.'
2322 } ) ;
2423
2524 feature_groups . push ( opencyclemap_phys_osm ) ;
@@ -32,13 +31,5 @@ const createMap = (opts) => {
3231 scrollWheelZoom : false ,
3332 } ) ;
3433
35- const attrib = L . control . attribution ( { position : 'bottomleft' } ) ;
36- attrib . addAttribution ( '<a href="https://www.thunderforest.com" target="_blank" style="">Thunderforest</a>' ) ;
37- attrib . addAttribution ( '<a href="https://www.openaip.net" target="_blank" style="">openAIP</a>' ) ;
38- attrib . addAttribution ( '<a href="https://www.openstreetmap.org/copyright" target="_blank" style="">OpenStreetMap</a> contributors' ) ;
39- attrib . addAttribution ( '<a href="https://www.openweathermap.org" target="_blank" style="">OpenWeatherMap</a>' ) ;
40-
41- attrib . addTo ( map ) ;
42-
4334 return map
4435} ;
You can’t perform that action at this time.
0 commit comments