@@ -4,42 +4,20 @@ var scrolled=0;
44
55function load_map ( url_params ) {
66
7- var humanitarian = L . tileLayer ( 'https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png' , {
8- attribution : 'Geo datos © <a href="https://openstreetmap.org">OpenStreetMap</a>'
9- } ) ;
10- var osm = L . tileLayer ( 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png' , {
11- attribution : '© Colaboradores de <a href="https://openstreetmap.org">OpenStreetMap</a>'
12- } ) ;
13- var pub_transport = L . tileLayer ( 'https://tile.memomaps.de/tilegen/{z}/{x}/{y}.png' , {
7+ var transport = L . tileLayer ( 'https://tileserver.memomaps.de/tilegen/{z}/{x}/{y}.png?apikey=760b39ce3c124042844d03e0f935bae9' , {
148 attribution : 'Geo datos © <a href="https://openstreetmap.org">OpenStreetMap</a>; Teselas © <a href="https://memomaps.de/">MeMoMaps</a>'
159 } ) ;
16- var new_transport = L . tileLayer ( 'https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey=760b39ce3c124042844d03e0f935bae9' , {
17- attribution : 'Geo datos © <a href="https://openstreetmap.org">OpenStreetMap</a>; Teselas © <a href="https://thunderforest.com/">Gravitystorm</a>'
18- } ) ;
19- var mapbox = L . tileLayer ( 'https://{s}.tiles.mapbox.com/v3/jaakkoh.map-4ch3dsvl/{z}/{x}/{y}.png' , {
20- attribution : 'Geo datos © <a href="https://openstreetmap.org">OpenStreetMap</a>; Teselas © <a href="https://mapbox.com/">Mapbox</a>'
21- } ) ;
22- var osmsweden = L . tileLayer ( 'https://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png' , {
23- attribution : 'Geo datos © <a href="https://openstreetmap.org">OpenStreetMap</a>; Teselas © <a href="https://https://openstreetmap.se/">OSM Suecia</a>'
24- } ) ;
25-
26-
27-
2810
2911 var baseLayers = {
30- "Transporte público" : pub_transport ,
31- "Humanitarian" : humanitarian ,
32- "OpenStreetMap" : osm ,
33- "Mapbox" : mapbox ,
34- "OSM Sweden" : osmsweden ,
12+ "Transporte público" : transport ,
3513 } ;
3614
3715 // Initialize map
3816 map = new L . map ( 'map' , {
3917 center : [ 12.125 , - 86.25 ] ,
4018 zoom : 13 ,
4119 attributionControl : false ,
42- layers : baseLayers [ url_params . layers ] || new_transport
20+ layers : baseLayers [ url_params . layers ] || transport
4321 } ) ;
4422
4523 // Adding hash for position in url
0 commit comments