Commit graph

139 commits

Author SHA1 Message Date
Marcus Jaschen
a285751416 Add “Maximum Speed” to analysis sidebar
It shows the distribution of maximum speeds for all ways on the
current route (if that data is available, otherwise it’s summed up
under “unknown”).

`maxspeed:forward` and `maxspeed:backward` is respected in conjunction
with `reversedirection`.

Hovering/clicking table rows to highlight matching segments on the
route work the identical to the other analysis tables.

Additionally, all tags in the analysis tab (way type, surface,
smoothness) are translateable now. The values were added to `en.json`.

Some HTML is rendered with template literals now, instead of
concatenating strings.

Variable declarations were changed from `var` to `const`/`let`.
2024-10-21 20:32:29 +02:00
Norbert Renner
587b4b83a5 Fix duplicate i18n keys and update locale (#735) 2023-06-16 16:54:45 +02:00
Norbert Renner
bac32de98b Update i18n keys (#729) 2023-05-19 16:18:27 +02:00
Norbert Renner
b3e788eec4
Merge pull request #621 from tbsmark86/road-quality
Road surface as quality color + highlight matching row when hovering route on map
2022-11-03 11:55:22 +01:00
Tobias
a376c4725c New info icons for export
* if format will include turns
* warning fit with server download
2022-09-14 21:02:50 +02:00
Tobias
39aa813ea1 Added new quality mode: surface type
Required fork of leaflet-hotline with a new option to disable the
gradient display.
This is was done so that short stretches of very bad surface adjacent to
very good ones are visible.

Also note the eslint-disable-line for this compat warning:
  URLSearchParams is not supported in Safari 7, op_mini all, IE 10, android 4.1
don't seem relevant today because those are EOL for a long time now.
2022-08-28 11:46:59 +02:00
Norbert Renner
5ca95e6eec Reorder en.json (by i18next) 2022-08-10 12:05:03 +02:00
Norbert Renner
2003257779 Remove > from default export name (#202)
as it requires encoding in XML and gets removed in filename anyway.
2022-08-09 21:06:10 +02:00
Marcus Jaschen
f68d32b1f2
Improves rendering of Overpass data; add OSM link to Overpass popups (see #467) (#574)
- add some styling to the Overpass data table (alternating row colors; text alignment)
- add link to OSM object below the Overpass data table
- add 4 new entries in `en.json`
2022-06-30 11:15:01 +02:00
Norbert Renner
831c05f3fc Update translations 2022-06-29 10:31:35 +02:00
Norbert Renner
539d26696c Update translations 2022-06-23 20:26:32 +02:00
Norbert Renner
ad68d0023b Configure hillshading layer
- full attribution
- i18n key
- paint property defaults as template
2022-06-15 14:21:31 +02:00
Norbert Renner
ceadbfe10c Update translations 2022-06-08 15:40:47 +02:00
Norbert Renner
5cc64015b9 Rename hiking-beta profile to hiking-mountain
- remove " (beta)" in locale text, stick to plain "Hiking" as long as we have only one and base parameters stay the same
- map hash for old URLs
2022-05-23 11:34:03 +02:00
Norbert Renner
7a5d4f071e Formatted en.json after transifex push 2022-05-19 20:14:14 +02:00
Norbert Renner
e5ea9173ae
Merge pull request #497 from nrenner/68-sl-routing
Add straight line support to routing
2022-05-12 16:26:00 +02:00
Norbert Renner
0087d31844 Add beeline hint to segment tooltip 2022-05-10 11:43:07 +02:00
Norbert Renner
6a19b53dc0 Add interpolated warning for stats with beeline 2022-04-11 19:24:48 +02:00
The Ripper
05ff4bd430
Favorite list for search (geocode control) (#452)
* search favorites

Adds the ability to save search terms, use this for autoexpand during
typing in searchbox or select from whole list

* moved class vars to contructor

Co-authored-by: Karl Schweiger <kschweiger@directbox.com>
2021-10-13 19:39:48 +02:00
Gautier P
5e14484302
I18n nogo areas errors (#413) 2021-05-13 17:02:18 +02:00
Norbert Renner
b4fbae093f Add beeline button 2021-05-05 22:25:10 +02:00
Norbert Renner
448549246c Update translations 2021-03-30 12:53:10 +02:00
Norbert Renner
6d0cfa7999 Update en.json 2021-03-26 08:41:37 +01:00
Marcus Jaschen
d1285baa69 change keyboard shortcuts; update tooltips
- "Load Track as Route" is now triggered by pressing `Shift-O`
- "Load No-Go-Areas" is now triggered by pressing `Shift-N`
- tooltip for navbar link is updated an ready for translation
2021-03-25 07:58:51 +01:00
Norbert Renner
874f1c2f27 Add translation for "overpass" layer category 2021-03-24 11:15:40 +01:00
Norbert Renner
8e328e9f0e Add credit for POIs, link to configured instance 2021-03-24 11:02:21 +01:00
Norbert Renner
0e8e040521 Update en.json 2021-03-23 10:15:58 +01:00
Norbert Renner
f3d4b23726
Merge pull request #384 from stesie/add-overpass-layer-re
Add (Overpass based) POI layer
2021-03-22 21:50:03 +01:00
Stefan Siegl
45b8b40ce8
Add loading indicator 2021-03-22 20:54:11 +01:00
Stefan Siegl
1b60d9af73
Use separate label/helptext instead of plain placeholders 2021-03-21 12:01:29 +01:00
Stefan Siegl
06f0be719d
allow to add custom overpass queries 2021-03-19 11:45:23 +01:00
Gautier P
5b52abc14e Improve modal dialogs consistency 2021-03-10 12:17:40 +01:00
Gautier P
dba39e60ea Update translations 2021-03-08 15:48:24 +01:00
Gautier P
a0a78cdab2
Translate overlay type and fix width computation (#379) 2021-03-01 20:19:38 +01:00
Gautier P
e188d8f9de
Use plural form when multiple overlays are active (#378) 2021-03-01 20:13:42 +01:00
Gautier P
845a3f0378
Add message if no elevation data is available (#373) 2021-03-01 20:05:29 +01:00
Gautier P
1ff25a566e
Add missing translatable content (#376) 2021-02-26 20:51:36 +01:00
Gautier P
a6becbc8d9 Update translations 2021-02-23 20:18:27 +01:00
Gautier P
1a695db333
Add What's new modal (#372) 2021-02-23 18:27:08 +01:00
Norbert Renner
5cd7d44440 Update translations 2021-01-25 11:31:52 +01:00
Norbert Renner
d077290654 Add countries mask as hint where ringgo applies 2021-01-23 21:12:02 +01:00
Norbert Renner
14343865d9 Update translations 2021-01-15 22:45:38 +01:00
Norbert Renner
a5f04dd9cd
Determine allowed zone from admin boundaries (#359) 2021-01-15 22:29:20 +01:00
Gautier P
c1648471aa Update translations 2020-12-24 10:33:52 +01:00
Norbert Renner
feec92dc17 Update translations 2020-12-04 21:33:29 +01:00
Gautier P
779c720b7d
Add 20km allowed zone icon (#347)
Co-authored-by: Gautier P <gautier_git@damsy.net>
2020-12-01 20:56:14 +01:00
Gautier P
1958f55f18 Update translations 2020-11-14 00:03:33 +01:00
Gautier P
1d5ade4d32 Fix typo 2020-11-14 00:03:32 +01:00
Norbert Renner
3089e2dba2 Update translations 2020-08-04 11:40:11 +02:00
Norbert Renner
c432391e7a Update translations 2020-07-17 11:35:16 +02:00