Sylvain
72a92eb156
Add ignf aerial pictures and base map ( #636 )
...
* add ignf layers
* removes ignf-boundaries
* Assign France bbox to IGNF layers
but don't restrict bounds because world wide coverage in lower zooms
Co-authored-by: Sylvain Lafay <sylvain.lafay@gmail.fr>
Co-authored-by: Norbert Renner <norbert.renner@gmx.de>
2022-09-16 10:58:30 +02:00
Norbert Renner
dcec6d4b77
Add GPX link (brouter#152)
2022-08-02 20:02:23 +02:00
Norbert Renner
6bcee783fd
Disable go-to zones ( #450 )
2022-07-18 16:13:27 +02:00
Norbert Renner
8d043c9b37
Support transparent WMS property ( fix #468 )
2022-07-13 10:41:18 +02:00
Marcus Jaschen
e058802777
uses existing function for escaping Overpass data; escape keys too ( #575 )
2022-07-01 11:05:14 +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
4a31ebe112
Fix download click for Firefox < 75 (attach to DOM)
2022-06-29 10:01:45 +02:00
Norbert Renner
74a6bcd92e
Fix parse error for import() in older browsers ( #571 )
...
- add import() polyfill that evals in Function() and falls back to script tag injection
- add AbortController polyfill for MapLibre (lazy loaded so can be in bundle, not for Web Workers)
- support Firefox 56, last supporting old plugins before Web Extensions
2022-06-28 18:54:21 +02:00
Marcus Jaschen
46a1a61138
add support for vector sources specified by url ( #566 )
2022-06-25 11:13:04 +02:00
Norbert Renner
8194c7896c
Fix trekking profile not loaded
...
when hash without additional params, regression of 4d44153
2022-06-24 21:35:26 +02:00
Norbert Renner
b894639c2f
Prevent sporadic canvas mouseout bubbling to map
...
Fixes #561
2022-06-21 20:37:02 +02:00
Norbert Renner
5cce9f92c2
Fix global assignments
2022-06-20 09:38:53 +02:00
Norbert Renner
c585b5aa62
Support access tokens for Maplibre (mvt) tile urls
2022-06-17 16:58:36 +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
8c8582ac19
Replace HikeBike.HillShading layer id
...
from hash and stored active layers, also add replacing from stored default layers
2022-06-14 13:25:51 +02:00
Norbert Renner
13efb4864c
Lazy load Maplibre GL JS and add hillshading layer
2022-06-14 10:00:13 +02:00
Norbert Renner
a57a560950
Fix default profile not selected with hash
2022-06-07 19:26:41 +02:00
Marcus Jaschen
8750c37901
Fix for incomplete/buggy solution for #494 ( #553 )
...
This commit fixes the incomplete/buggy implementation of the fix for #494 .
Values are now converted to the expected format before returned from
`wayTagsNormalize()`.
2022-06-07 11:32:47 +02:00
Norbert Renner
198f65e5bc
Disable preloading states to reduce traffic on start
2022-06-01 16:53:23 +02:00
Marcus Jaschen
4b5d08e5ed
fix for #494 ( #550 )
...
If a way segment contains more than one `surface` tags (e.g.
`surface=*` and `cycleway:surface=*`), the tag best suited for the
current routing type (currently only *cycling* is supported) is
selected.
i.e. if a `cycleway:surface=` tag belongs to the current way segment
it will be used for the analysis exclusively (all other `surface`
tags are skipped from now on).
2022-06-01 11:08:06 +02:00
Norbert Renner
0fc60c1821
Work around iOS 3rd party browser download ( #418 )
...
- use FileReader.readAsDataURL (for iOS Chromium)
- add alternative Download from Server for now until proven in Prod and fixed in iOS Firefox (no i18n)
- replace cloud icons as client-side now
2022-05-28 14:27:32 +02:00
Norbert Renner
1d26949770
Refactor download
2022-05-27 12:16:05 +02:00
Norbert Renner
99a00e5948
Allow empty name with client-side formatting ( #454 )
2022-05-24 22:00:59 +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
e863e4188c
Remove maki file name postfix "-11" after update
2022-05-18 16:02:12 +02:00
Norbert Renner
89d9e8763a
Run prettier after update
2022-05-18 15:53:09 +02:00
Norbert Renner
6cdfb96914
Fix async usage after update
...
- change package dir
- replace broken kill patch with remove filter
2022-05-17 11:27:43 +02:00
Norbert Renner
35c4b6ab87
Fix trailer not hidden on segment hover
2022-05-16 13:13:09 +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
d8e0e8ee09
Simplify response check, beeline has feature now
2022-05-06 15:27:46 +02:00
Norbert Renner
31916c2cae
Omit beelines in quality coding
2022-05-06 09:43:37 +02:00
Norbert Renner
72588f3fd9
Only use Canvas for routing segments
...
Routing trailers are lagging behind and Canvas by default might have side effects (Plugins)
2022-05-04 22:21:51 +02:00
Norbert Renner
855dc81283
Show gap in elevation graph for single beeline
2022-05-02 10:55:20 +02:00
Norbert Renner
7f481b8db3
Pass estimated cost factor to kinematic calc
...
(only to use different formula > 4.9)
2022-04-26 12:41:41 +02:00
Norbert Renner
6a19b53dc0
Add interpolated warning for stats with beeline
2022-04-11 19:24:48 +02:00
Norbert Renner
c122b31e73
Replace ??=, not supported by i18next-scanner
2022-04-11 18:59:28 +02:00
Norbert Renner
42d8b27266
Add time and energy to messages
2022-04-11 18:37:40 +02:00
Norbert Renner
5dd801d714
Interpolate cost by using max of neighbours
2022-04-09 11:55:56 +02:00
Norbert Renner
2f8ddfa9e7
Interpolate ascend stats
2022-04-06 11:51:20 +02:00
Norbert Renner
30f8a88957
Interpolate stats over consecutive beelines
2022-04-01 14:30:08 +02:00
Norbert Renner
7bbbffbd3f
Get selected profile vars despite pinned custom
2022-02-16 16:12:24 +01:00
Norbert Renner
4d44153316
Read time/energy calc variables from profile
...
and ensure profile text is loaded before updating route and straight line stats
2022-02-15 19:30:49 +01:00
Norbert Renner
9abf4b94c4
Calc stats for straight line
2022-02-07 17:52:16 +01:00
Norbert Renner
025eb02a6a
Fix stats tests by summarizing integer distances
2022-01-20 18:38:51 +01:00
Marcus Jaschen
103b00a519
'l' toggles locate state ( #462 )
2021-11-22 21:29:28 +01:00
Marcus Jaschen
d9699127f9
Highlight route segments for parts with normalized surface and smoothness values
...
This commit ensures that all matching route segments are highlighted when hovering over a surface or smoothness line in the analysis tables.
2021-11-20 14:17:20 +01:00
Marcus Jaschen
9ca93e4c03
Normalize surface and smoothness variants
...
The `surface` tag exists in different variants,
e.g. `surface`, `cycleway:surface` etc.
Previously, the `surface` and `smoothness` tags were only processed for route analysis if they were found in their canonical form in the BRouter server response.
With this commit, the variants are normalized down to the main tag name which has the effect that they're included in the route analysis.
Fixes #438
2021-11-20 13:46:14 +01:00
Marcus Jaschen
492797f2a5
Add OpenStreetMap Notes Layer ( #458 )
...
* use a local variable (best practices)
* Add OpenStreetMap notes as overlay.
This commit adds a new layer which renders OpenStreetMap notes in the
current view.
The layer can be activated via the "More" button in the layers sidebar.
Fixes #439
2021-11-17 20:03:07 +01:00
Marcus Jaschen
5ec72901f1
don't store empty search queries to search favorites
2021-11-15 19:00:54 +01:00
Marcus Jaschen
1551fec917
Husky fixes for Search/SearchFavorites
2021-11-15 19:00:54 +01:00