diff -r ca21302d1a74 -r 27324a81beca templates/trip.html
--- a/templates/trip.html Thu Dec 20 23:11:07 2018 +0200
+++ b/templates/trip.html Sat Jan 12 01:38:58 2019 +0200
@@ -168,6 +168,28 @@
maxZoom: 18,
}
),
+ "HSL": L.tileLayer(
+ 'https://cdn.digitransit.fi/map/v1/{id}/{z}/{x}/{y}@2x.png',
+ {
+ attribution: 'Map data © OpenStreetMap contributors, ' +
+ 'CC-BY-SA',
+ maxZoom: 19,
+ tileSize: 512,
+ zoomOffset: -1,
+ id: 'hsl-map'
+ }
+ ),
+ "HSL (svenska)": L.tileLayer(
+ 'https://cdn.digitransit.fi/map/v1/{id}/{z}/{x}/{y}@2x.png',
+ {
+ attribution: 'Map data © OpenStreetMap contributors, ' +
+ 'CC-BY-SA',
+ maxZoom: 19,
+ tileSize: 512,
+ zoomOffset: -1,
+ id: 'hsl-map-sv'
+ }
+ ),
}
var route = [{{shape}}];