mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
add remarksGetPolyline profile flag
This commit is contained in:
parent
7106d24a70
commit
d69d2530ef
2 changed files with 2 additions and 1 deletions
|
@ -10,9 +10,9 @@ const formatRemarksReq = (ctx) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const req = {
|
const req = {
|
||||||
getPolyline: !!opt.polylines,
|
|
||||||
himFltrL,
|
himFltrL,
|
||||||
}
|
}
|
||||||
|
if (profile.remarksGetPolyline) req.getPolyline = !!opt.polylines
|
||||||
// todo: stLoc, dirLoc
|
// todo: stLoc, dirLoc
|
||||||
// todo: comp, dept, onlyHimId, onlyToday
|
// todo: comp, dept, onlyHimId, onlyToday
|
||||||
// todo: dailyB, dailyE
|
// todo: dailyB, dailyE
|
||||||
|
|
|
@ -112,6 +112,7 @@ const defaultProfile = {
|
||||||
refreshJourneyUseOutReconL: false,
|
refreshJourneyUseOutReconL: false,
|
||||||
tripsByName: true,
|
tripsByName: true,
|
||||||
remarks: true,
|
remarks: true,
|
||||||
|
remarksGetPolyline: true, // `remarks()` method: support for `getPolyline` field?
|
||||||
lines: true,
|
lines: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue