diff --git a/format/remarks-req.js b/format/remarks-req.js index a1bfec72..cd122ac7 100644 --- a/format/remarks-req.js +++ b/format/remarks-req.js @@ -10,9 +10,9 @@ const formatRemarksReq = (ctx) => { } const req = { - getPolyline: !!opt.polylines, himFltrL, } + if (profile.remarksGetPolyline) req.getPolyline = !!opt.polylines // todo: stLoc, dirLoc // todo: comp, dept, onlyHimId, onlyToday // todo: dailyB, dailyE diff --git a/lib/default-profile.js b/lib/default-profile.js index 33f6d743..cc3ba885 100644 --- a/lib/default-profile.js +++ b/lib/default-profile.js @@ -112,6 +112,7 @@ const defaultProfile = { refreshJourneyUseOutReconL: false, tripsByName: true, remarks: true, + remarksGetPolyline: true, // `remarks()` method: support for `getPolyline` field? lines: true, }