Show home marker for car journeys
This commit is contained in:
parent
086bc630c9
commit
1e9169b740
3 changed files with 56 additions and 5 deletions
|
|
@ -267,10 +267,12 @@ Required fields:
|
|||
Optional fields:
|
||||
|
||||
- `from`, `to`: endpoint labels. If omitted and the route filename uses `A_to_B`, labels are inferred from the filename.
|
||||
- `from_type`, `to_type`: marker type override. Use `home` to render a house icon. Otherwise car endpoints render as car markers.
|
||||
- `show_markers`: boolean. When true, render both car endpoint markers on maps. Defaults to false because car endpoints often duplicate airport, accommodation, ferry terminal, or conference pins. Home endpoints still render by default.
|
||||
- `from_show_marker`, `to_show_marker`: booleans. Per-endpoint marker overrides.
|
||||
- `from_type`, `to_type`: marker type override used when that endpoint marker is shown. Use `home` to render a house icon. Otherwise car endpoints render as car markers.
|
||||
- `operator`, `vehicle`, `price`, `currency`, `distance`.
|
||||
|
||||
The route distance is calculated from the GeoJSON when `distance` is not present. If an inferred or explicit endpoint label is `home`, `PCH`, or `Picture House Court`, the marker is rendered as a house.
|
||||
The route distance is calculated from the GeoJSON when `distance` is not present. Car routes render on maps by default. Non-home endpoint pins are opt-in. If an endpoint label is `home`, `PCH`, or `Picture House Court`, the marker is rendered as a house by default.
|
||||
|
||||
Example:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue