mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
feat(roadtrip): add daily scheduling and configurable day endings
This commit is contained in:
@@ -148,6 +148,9 @@ export interface Settings {
|
||||
*/
|
||||
roadtrip_leg_minutes?: number
|
||||
roadtrip_day_minutes?: number
|
||||
roadtrip_day_start?: string
|
||||
roadtrip_day_end?: string
|
||||
roadtrip_day_end_mode?: 'route' | 'stop'
|
||||
roadtrip_range_km?: number
|
||||
/**
|
||||
* Road classes the drive should leave out where it can, as a comma list
|
||||
@@ -256,6 +259,8 @@ export interface RouteSegment {
|
||||
|
||||
/** An intermediate stop a plugin route places on the drawn line (charging stop, rest area). */
|
||||
export interface RouteVia {
|
||||
hoverCard?: boolean
|
||||
nightPause?: { day: number; atPlace: boolean; position?: number; manual?: boolean; minPosition?: number; maxPosition?: number }
|
||||
lat: number
|
||||
lng: number
|
||||
label?: string
|
||||
|
||||
Reference in New Issue
Block a user