mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 08:30:05 +00:00
feat(tours): plan ski and winter tours, snowshoeing and winter hiking among them
Ski becomes "Ski & winter", a type the planner plans with six disciplines (alpine, snowboard, cross-country, ski touring, snowshoeing, winter hiking), nothing preselected; saving needs a discipline, and a technique for cross-country. Every leg is drawn straight between the points through planner/skiRouting.ts, the one place the piste router will plug in, with its heights from the elevation source and no ski time worked out. The hike's winter label goes entirely: its migration, column, field, marks, GPX rule, MCP field and strings. A hike is summer only; a ski tour with the snowshoe discipline exports as snowshoeing. The unreleased ski migration takes the six disciplines and the collection migration loses the winter column. The pistes are offered for a ski tour, shown until switched off, and with no tour open, never for a hike. Export, copy, collections, stages (untimed), actual tracks, the atlas, list and day marks (one glyph per discipline), 3D, planning over a ski import and list_tours/get_tour_plan know the planned ski tour.
This commit is contained in:
@@ -13,13 +13,14 @@ import type { TourBaseLayer } from '../Map/MapLayerSwitcher';
|
||||
* layer (RC-10), OpenSeaMap's seamarks (PAD-10) and OpenSnowMap's pistes (SKI-01).
|
||||
*
|
||||
* - Hike: the standard map first, as before; topo, OpenHikingMap (MAP-01, while the admin
|
||||
* allows it) and satellite beside it; via ferratas, and the pistes for winter hiking (SKI-01).
|
||||
* allows it) and satellite beside it; via ferratas. A hike is summer only: winter hiking and
|
||||
* snowshoeing are ski tours, so the pistes are not offered here.
|
||||
* - Bike (BIK-01): the standard map, topo for the climbs, CyclOSM (BIK-06, while the admin
|
||||
* allows it) and satellite. No ferratas, a bike tour climbs none.
|
||||
* - Run (RUN-01): the standard map, topo for the climbs and satellite. No ferratas, a run
|
||||
* takes none.
|
||||
* - Ski (SKI-02): the standard map, topo for the slopes and satellite. No ferratas. The
|
||||
* pistes as an overlay (SKI-01).
|
||||
* pistes as an overlay (SKI-01), the only type that offers them, shown until switched off.
|
||||
* - Paddle: the standard map, whose water reads clearly, and satellite. No topo and
|
||||
* no ferratas, those are hiking maps. Seamarks as an overlay.
|
||||
* - Horse (HOR-01): the standard map, topo for the lie of the land and satellite for
|
||||
@@ -43,7 +44,7 @@ export interface TourMapLayerSet {
|
||||
const HIKE: TourMapLayerSet = {
|
||||
bases: ['default', 'topo', 'satellite'],
|
||||
defaultBase: 'default',
|
||||
overlays: ['ferratas', 'pistes'],
|
||||
overlays: ['ferratas'],
|
||||
};
|
||||
const HIKE_WITH_HIKING_MAP: TourMapLayerSet = { ...HIKE, bases: ['default', 'topo', 'hiking', 'satellite'] };
|
||||
const BIKE: TourMapLayerSet = { bases: ['default', 'topo', 'satellite'], defaultBase: 'default', overlays: [] };
|
||||
|
||||
Reference in New Issue
Block a user