Commit graph

126 commits

Author SHA1 Message Date
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
f2d034ce8a Improved TrackMessages: highlight matching row when hovering route on map 2022-09-23 22:35:36 +02: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
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
13efb4864c Lazy load Maplibre GL JS and add hillshading layer 2022-06-14 10:00:13 +02:00
Norbert Renner
89d9e8763a Run prettier after update 2022-05-18 15:53: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
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
Norbert Renner
b4fbae093f Add beeline button 2021-05-05 22:25:10 +02:00
Norbert Renner
c3abfa9c9a Show overpass icons in layer tree 2021-04-07 18:05:47 +02:00
Stefan Siegl
d60ab7937c
Show maki icons in overpass markers 2021-04-03 21:20:42 +02:00
Stefan Siegl
c3a9221c52
Use nodeFeature = Marker 2021-04-03 19:06:04 +02:00
Marcus Jaschen
5f0f155e5f
Improve typography for "What's new?" dialog (#391)
- remove <h1> (redundant)
- adjust font-sizes and margins for headings (h2, h3)
2021-03-26 08:28:40 +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
ed4b3ee3e2
Remove markerSymbol 2021-03-21 11:06:32 +01:00
Stefan Siegl
fef0e07799
use svg overpass icon 2021-03-19 12:33:24 +01:00
Stefan Siegl
7532488a02
Add overpass-layer (first sketches) 2021-03-19 11:45:22 +01:00
Gautier P
5b52abc14e Improve modal dialogs consistency 2021-03-10 12:17:40 +01:00
Gautier P
dac4a419a9 Make modals fullscreen on mobile 2021-03-09 15:03:04 +01:00
Gautier P
6238842ad0
Gray out unselectable layers (#381) 2021-03-09 09:46:13 +01:00
Gautier P
845a3f0378
Add message if no elevation data is available (#373) 2021-03-01 20:05:29 +01:00
Gautier P
1a695db333
Add What's new modal (#372) 2021-02-23 18:27:08 +01:00
Norbert Renner
2cec623d89 Add download links to ringgo popup 2021-01-25 10:40:50 +01:00
alexcojocaru
3c1f5d0d6d Merge remote-tracking branch 'upstream/master' into heightgraph-transpiled 2020-12-21 21:26:53 -08:00
Norbert Renner
1d78e03d0a Show inverted polygon for allowed zone 2020-12-04 19:47:49 +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
alexcojocaru
dff71c5e44 clarify comment 2020-10-26 22:34:49 -07:00
alexcojocaru
5fd3977768 Use Heightgraph in lieu of Elevation (part V)
- fix the grade calculation
- don't show the grade labels, as they are all over (should be normalized)
- fix the display issues by overridding the heightgraph CSS
2020-10-26 22:19:37 -07:00
Norbert Renner
de3d355c0c Add contact language hint to about dialog 2020-06-17 17:51:40 +02:00
Norbert Renner
ebaba664d2 Improve mobile stats (#302)
- flex-wrap instead of hard character break
- minimal margin
- add missing breakpoint for space
2020-06-17 10:39:53 +02:00
Henrik Fehlauer
8ca92e260d Improve analysis tab CSS
There are some ways the look of the analysis tab can be polished:
- Properly right-align the length header
  (it had extra margins required for the sorting arrows in the data tab)
- Use the same font size for table header and body (like in the data tab)
- Improve padding of the totals row (to align with the rows above)
- Add missing style for headings, so they look more balanced
  (the CSS was already there, but the wrong class was used in the HTML)
- Fine-tune vertical spacing (to help visual grouping)
- Remove unused and redundant CSS
- Do not show yellow hover effect over table header
2020-05-24 18:00:00 +00:00
Marcus Jaschen
fc54c65e23 Add sidebar tab with route analysis data
- adds a new analysis tab in the sidebar
- the analysis tab shows length distribution for different way types, surface, and smoothness
- table rows can be hovered/clicked to highlight the according segments on the map (similar behaviour as the detailed data table)
- localization is implemented for `de` and `en`
- the method for finding segment edges was extracted from `js/control/TrackMessages.js` into `js/util/TrackEdges.js` as it's used in the new analysis class too (the Gulp config was changed to reflect that)

Notes:

I had the idea to use the *DataTable* plugin for rendering the tables but decided against it. The only meaningful way to sort such a table is by the length column and that's already the case. So it's just three plain, old HTML tables, rendered by jQuery.

For meaningful statistics the `processUnusedTags` setting has to be enabled in the routing profile. Only in this case the BRouter backend includes all needed tags (`highway`, `surface`, and `smoothness`) for *every* route segment in the response. I’ve enabled that setting for all profiles at my BRouter-web instance at <https://brouter.m11n.de/>.
2020-06-07 16:56:50 +02:00
Gautier P
bbaad4f8b3 Hide stats footer by default and collapse elevation chart if needed 2020-05-25 20:22:49 +02:00
Gautier P
a358aed464 Improve stats footer on mobile #296 2020-05-24 19:50:14 +02:00
Norbert Renner
86d42de458 Show icon indicator when profile is pinned (modified in editor) 2020-02-07 20:02:32 +01:00
Norbert Renner
9d59d51549 Improve distance markers a bit (#243)
- make icons a bit smaller
  - also results in better vertical centering
- round icon too small for 3 digits, multiply width by digits
- increase opacity a bit for better readability
2019-12-13 12:44:24 +01:00
Norbert Renner
a71dfe7895
Add hints and feedback for optional layers tree usage (#263) 2019-12-06 09:31:55 +01:00
Norbert Renner
57fea5e256 Set different hover background color for selected data row 2019-12-03 11:29:02 +01:00
Norbert Renner
a585dde182 Add switch to turn off centering hovered data table entry on map (#241) 2019-11-30 09:38:12 +01:00
Norbert Renner
4efa6247aa Improve profile parameters layout: button always visible, smaller font
- Flexbox layout with scrolling inner content instead of whole tab
- same smaller font size like in layers tab, small input fields
2019-11-13 10:44:34 +01:00
Norbert Renner
21a8d8b5de Replace profile options/editor switch buttons with Bootstrap tabs 2019-11-11 19:30:29 +01:00
Norbert Renner
ef9cc7abe7
Merge pull request #235 from Phyks/custom-profiles
First PoC for UI for customizing profile
2019-11-09 09:47:32 +01:00
Norbert Renner
ddf8e27085
Merge pull request #226 from bagage/222-add-users-poi
export user's POI (point of interest)
2019-10-10 22:17:44 +02:00
Gautier Pelloux-Prayer
fa5af58372 Add markers POI layer 2019-10-10 21:07:49 +02:00
Unknown
173752c691 Added distance markers to the routing path 2019-10-02 14:23:27 +02:00
Phyks (Lucas Verney)
ff86c85a8a Full first draft of a working UI 2019-09-27 11:09:13 +02:00
Phyks (Lucas Verney)
93de9c0164 Checkbox for boolean values + rework UI a bit 2019-09-27 11:09:10 +02:00
Gautier Pelloux-Prayer
d31be926d2 Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
Norbert Renner
ab467a94ab Improve opacity slider (#215)
- adopt horizontal styles
- common font size for layers tab
- adopt to layer switcher layout with slider as child of label element
- separate slider wrapper from control, as overlay slider is none
- migrate localStorage legacy key
2019-08-02 19:39:47 +02:00