Commit graph

313 commits

Author SHA1 Message Date
Norbert Renner
3324f9c270 Move POI button below routing bar (#226) 2019-12-11 17:29:28 +01:00
Norbert Renner
41b349dc9f Remove gap in control bar by hiding empty dummy track loader button 2019-12-11 17:27:55 +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
0781bb85dc Use Polyline.getCenter instead of bounds to center hover on map (#241)
Returns point on line at half distance instead of centroid of bounds,
which can be far off the line for curved lines and not show line at high
zooms.
2019-11-30 12:28:48 +01:00
Norbert Renner
b57c4f2bf6 Make data row selectable, centers on map, disables hover sync (#241) 2019-11-30 12:18:15 +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
a70cf43838 Fix Custom option not disabled when URL with profile
Getting value of 'profile' ele no longer works (?), replace with proper
check if profile name is custom.
2019-11-29 15:45:31 +01:00
Norbert Renner
a006d64a6d Don't show save warning in editor tab on options apply 2019-11-13 11:11:14 +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
b0b8a3d0c0 Remove button state "uploading", no longer supported in Bootstrap v4
https://getbootstrap.com/docs/4.3/migration/#buttons
https://getbootstrap.com/docs/3.3/javascript/#buttons-stateful
2019-11-12 10:04:13 +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
0809b17577 Fix broken route segment coloring (#250)
- with var instead of const all callbacks referenced last value in loop,
add closure
- cloning by property overwrites default when undefined, use L.extend
for Object.assign
2019-11-07 18:34:01 +01:00
Gautier Pelloux-Prayer
f4285f38a1 Remove flat() usage 2019-11-03 14:36:26 +01:00
Gautier Pelloux-Prayer
71c5075f9c Add eslint 2019-11-03 14:29:26 +01:00
Gautier Pelloux-Prayer
a23634e1c4 Use custom markers for start and end 2019-10-19 10:15:36 +02:00
Norbert Renner
cb8aeee6ea
Merge pull request #241 from matzepan/feature/center-track
Feature/Center the map to the track when hovering on it
2019-10-11 12:39:35 +02: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
Gautier Pelloux-Prayer
6a68482c0b Properly declare some variables 2019-10-10 21:07:42 +02:00
Norbert Renner
a038f0448d
Merge branch 'master' into feature/distance-marker 2019-10-10 20:04:14 +02:00
matzepan
bc480af774
Merge branch 'master' into feature/distance-marker 2019-10-10 19:48:03 +02:00
Matzepan
3a0a4498c2 moved button above opacity slider 2019-10-10 19:36:54 +02:00
Matzepan
544aab0716 Fixed problems with gulp-uglify 2019-10-10 19:36:25 +02:00
Unknown
023e30073d Incline is now the first option, cost the last 2019-10-10 19:36:21 +02:00
Unknown
9eeca7e2d5 Added hotline based route overlay
Added a overlay which reflects the quality of the route based on either:
* cost
* altitude
* incline
2019-10-10 19:35:51 +02:00
Phyks (Lucas Verney)
f331773363 Cache custom profiles 2019-10-08 14:33:41 +02:00
Phyks (Lucas Verney)
a77413e1eb Fix an error upon editing profile with a route set 2019-10-08 14:20:51 +02:00
matzepan
4fdd375b5c removed let 2019-10-02 23:36:35 +02:00
Unknown
fde748f7cf Let seems not to be supported 2019-10-02 23:27:45 +02:00
Unknown
ff1499c62b If a track contains waypoints, they are set to the router 2019-10-02 16:16:29 +02:00
Unknown
1828a642c3 Remove markers when route is deleted 2019-10-02 15:28:37 +02:00
Unknown
173752c691 Added distance markers to the routing path 2019-10-02 14:23:27 +02:00
Unknown
ee54d45790 Changed loaded track to noninteractive 2019-10-01 20:41:28 +02:00
Phyks (Lucas Verney)
43ac9db50c Keep advanced and basic editor in sync 2019-09-27 11:18:27 +02:00
Phyks (Lucas Verney)
83390fc05c Add a message when no configuration options are available 2019-09-27 11:09:13 +02:00
Phyks (Lucas Verney)
ff86c85a8a Full first draft of a working UI 2019-09-27 11:09:13 +02:00
Phyks (Lucas Verney)
39b7dd4a0a Handle i18n of profile parameters 2019-09-27 11:09:13 +02:00
Phyks (Lucas Verney)
aa6d13025c Build on Locus' syntax 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
Phyks (Lucas Verney)
fadf2d1a70 First PoC for UI for customizing profile 2019-09-27 11:08:11 +02:00
Unknown
e21bf246ee Center the map to the track when hovering on it 2019-09-27 10:50:26 +02:00
Unknown
4854342c92 Prettified 2019-09-17 12:21:29 +02:00
Unknown
936e5732b2 Implementation of Track loading
Use leaflet-filelayer to load kml, gpx, geojson, json tracks and display them as new Overlay layer.
2019-09-17 12:20:24 +02:00
Norbert Renner
9076e1efd3 Update brouter.de links to https 2019-09-05 12:05:29 +02:00
Phyks (Lucas Verney)
0001d487a4 Let user delete route and/or nogo areas
Fix issue #217.
2019-08-15 21:25:18 +02:00
Gautier Pelloux-Prayer
d31be926d2 Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
Gautier Pelloux-Prayer
d00fe15ff1 Refactor error handling 2019-08-07 18:20:24 +02:00
Gautier Pelloux-Prayer
ba12f0d609 Extract nogo areas upload in BR.NogoAreas 2019-08-07 11:08:19 +02:00
Gautier Pelloux-Prayer
5a03b43099 Handle GeometryCollection in nogo areas upload 2019-08-07 10:39:36 +02:00