gtfs-to-html 2.9.15 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config-sample.json +0 -1
- package/dist/app/index.js +2 -1
- package/dist/app/index.js.map +1 -1
- package/dist/bin/gtfs-to-html.js +2 -1
- package/dist/bin/gtfs-to-html.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/views/default/css/overview_styles.css +7 -7
- package/views/default/css/timetable_styles.css +14 -14
- package/views/default/formatting_functions.pug +2 -1
- package/views/default/js/system-map.js +83 -25
- package/views/default/js/timetable-map.js +50 -28
- package/views/default/overview.pug +3 -4
- package/views/default/overview_full.pug +4 -4
- package/views/default/timetablepage.pug +1 -1
- package/views/default/timetablepage_full.pug +2 -4
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ interface Config {
|
|
|
18
18
|
interpolatedStopSymbol?: string;
|
|
19
19
|
interpolatedStopText?: string;
|
|
20
20
|
linkStopUrls?: boolean;
|
|
21
|
-
|
|
21
|
+
mapStyleUrl?: string;
|
|
22
22
|
menuType?: 'simple' | 'jump' | 'radio';
|
|
23
23
|
noDropoffSymbol?: string;
|
|
24
24
|
noDropoffText?: string;
|
package/dist/index.js
CHANGED
|
@@ -334,7 +334,7 @@ function formatTripNameForCSV(trip, timetable) {
|
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
// package.json
|
|
337
|
-
var version = "2.
|
|
337
|
+
var version = "2.10.0";
|
|
338
338
|
|
|
339
339
|
// src/lib/utils.ts
|
|
340
340
|
var isTimepoint = (stoptime) => {
|
|
@@ -1288,6 +1288,7 @@ function setDefaultConfig(initialConfig) {
|
|
|
1288
1288
|
interpolatedStopText: "Estimated time of arrival",
|
|
1289
1289
|
gtfsToHtmlVersion: version,
|
|
1290
1290
|
linkStopUrls: false,
|
|
1291
|
+
mapStyleUrl: "https://tiles.openfreemap.org/styles/liberty",
|
|
1291
1292
|
menuType: "jump",
|
|
1292
1293
|
noDropoffSymbol: "\u2021",
|
|
1293
1294
|
noDropoffText: "No drop off available",
|