Commit graph

101 commits

Author SHA1 Message Date
Stefan Siegl
7532488a02
Add overpass-layer (first sketches) 2021-03-19 11:45:22 +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
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
Gautier Pelloux-Prayer
fa5af58372 Add markers POI layer 2019-10-10 21:07:49 +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
Phyks (Lucas Verney)
7666daa10f Add an overlay opacity slider 2019-07-16 12:25:52 +02:00
Norbert Renner
fc598fae2e Warn when server quick fix will remove track name chars (#194, #202) 2019-06-27 09:30:11 +02:00
Gautier Pelloux-Prayer
f1a20413b0 Upgrade to latest bootstrap 2019-06-03 23:33:31 +02:00
Gautier Pelloux-Prayer
d532f1e5e5 Properly disable export button if no route is drawn 2019-05-31 11:16:30 +02:00
Gautier Pelloux-Prayer
970a34981f Add prettier and reformat code 2019-05-17 20:55:39 +02:00
Norbert Renner
871230bcbe Prepend language and country code to layer tree, ordering, i18n (#146) 2019-04-05 21:33:41 +02:00
Norbert Renner
e02be4ca15 Add expand/collapse tree buttons 2019-03-20 18:41:22 +01:00
Norbert Renner
64957d923b Add toggle button for optional layers and make scrollable and expandable 2019-03-20 13:40:54 +01:00
Norbert Renner
ddbbd00d1f Add jsTree for optional layers 2019-03-16 13:09:14 +01:00
Norbert Renner
8b46ba9a27 Fix CSS id reference (#161) 2019-03-16 12:44:29 +01:00
Phyks (Lucas Verney)
e7db4a7aae Let user upload Nogos through GeoJSON file. 2019-03-15 18:18:43 +01:00
Norbert Renner
eb2dd49543 Disable default menu background image as we use fa-bars icon (#66) 2018-08-09 12:34:09 +02:00
Norbert Renner
3f8c09fbb0 Allow contents to shrink when minimized
Use-case is brouter-web navbar menu expanding and hiding map on mobile, 
but tabs remained.
2018-08-09 12:17:26 +02:00
Norbert Renner
218d3b36c7 Improve Landscape mode: wrap toolbar controls, bottom underneath top 2018-08-08 18:50:07 +02:00
Norbert Renner
370225fcfc Increase icon size on touch screens 2018-08-02 12:37:39 +02:00
Norbert Renner
b1af21ce95 Improve footer layout on small screens (#66)
- smaller spacing to fit three numbers in line instead of two
- adjust margin/padding when description is hidden
2018-07-30 20:38:53 +02:00
Norbert Renner
402dc8de76 Add "About" to navbar also, more prominent than hidden as brand link 2018-07-27 17:32:32 +02:00
Norbert Renner
607659317f Replace Leaflet layers icon with a simple b/w that fits in better (#114) 2018-07-24 17:14:49 +02:00
Norbert Renner
7ac86d159f Remove expand icon rotate transform, blurry in Firefox (#114) 2018-07-19 17:48:43 +02:00
Norbert Renner
bdc1fd0cb4 Fix error message taking full height and preventing map events;
make error text selectable
2018-07-17 10:44:47 +02:00
Norbert Renner
92537cc00d Fix Firefox selecting text in controls on map click/drag 2018-07-16 19:03:36 +02:00
Norbert Renner
4d4b344793 Adapt left-over own diagram styles from #56 to override theme (#111) 2018-07-05 13:59:55 +02:00