Norbert Renner
502735cb8e
Replace large awesome-markers with smaller vector-markers ( #268 )
2019-12-18 21:28:58 +01:00
Norbert Renner
9af707a56e
Set loaded markers non-interactive, below route markers ( #240 )
2019-12-13 14:45:58 +01:00
Norbert Renner
40ad243176
Disable loading wpt type=from/to/via as route because of issues ( #254 )
2019-12-13 14:30:08 +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
61903bb66d
Use language-independent URL hash id for quality coding layer ( #242 )
2019-12-12 12:23:23 +01:00
Norbert Renner
7691e15d61
Add active state to route quality coding button, sync layer ( #262 )
2019-12-12 11:08:50 +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
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
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
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
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
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
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
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
Norbert Renner
ef41a9e5ff
Restore active layers ( #205 )
2019-06-18 09:14:08 +02:00
Gautier Pelloux-Prayer
60029df6d9
Upgrade leaflet geocoder to properly parse lat/lng
2019-06-16 19:04:18 +02:00
Henrik Fehlauer
2022069066
Fix unintentional shortcut activations when typing text
...
Test Plan:
Pressing 'd' key in search box and in custom profile editor no longer
activates route drawing.
2019-05-30 23:52:59 +02:00
Gautier Pelloux-Prayer
970a34981f
Add prettier and reformat code
2019-05-17 20:55:39 +02:00
Gautier Pelloux-Prayer
d009aa5bc6
Add reverse route button
2019-05-11 17:52:16 +02:00
Norbert Renner
430ec1cd38
Refactor StravaSegments init into plugin wrapper
2019-04-04 12:03:28 +02:00
Norbert Renner
282edbbc01
Prevent unnecessary tile loading for default base layer
...
by only setting it if no layer activated by hash URL
2019-04-03 12:41:39 +02:00
Norbert Renner
d60b1ad15f
Use layer id instead of name for hash
...
- to make it work across languages and on translation changes
- with legacy support for old names
2019-04-02 22:00:32 +02:00
Norbert Renner
f5c952a0eb
Refactor hash layers
2019-04-01 21:07:26 +02:00
Norbert Renner
d83ffa3fbc
Support optional and custom layers in hash URL
...
- extend layer control to get current active layers (and more)
- access layer control in hash instead of static initial list
- use ',' layer separator and encode layers individually, so that comma
in layer name gets encoded and is not mistaken as separator as with '-'
2019-03-29 22:20:52 +01:00
Phyks (Lucas Verney)
18327ebbf0
Fix polygon edition
2019-02-21 07:55:55 +01:00
Phyks (Lucas Verney)
ab06b8a8d1
Fix an error when creating a nogo circle
2019-02-20 10:06:31 +01:00
Phyks (Lucas Verney)
6e60751db0
Render polygons from URL hash and pass it to BRouter server
2019-02-18 21:00:36 +01:00
Norbert Renner
54dfa93624
Focus map after sidebar close ( #114 )
...
to be consistent with Leaflet Controls and EasyButton behaviour;
removes focus outline in Firefox from tab that would else remain there
2018-07-25 22:03:23 +02:00
Norbert Renner
59827a524f
Restore (short) attribution on the map, closes #110
2018-07-03 20:41:26 +02:00
Norbert Renner
4740048960
Fix reopened tooltip getting closed by timer
...
Cases:
- enabled tooltip gets closed after disable + re-enable
- disabled tooltip gets closed after create + re-hover
Superfluous clearTimeout calls in the regular case after timeout have no
effect.
2018-06-28 16:43:30 +02:00
Norbert Renner
ce32c0da71
Add nogo button to routing bar
2018-06-27 09:17:45 +02:00
Norbert Renner
1c9cef910b
Sidebar closed by default, avoid full-screen on mobile ( #112 )
2018-04-09 18:50:53 +02:00
Norbert Renner
093db8bfe2
Add sidebar expand button, refresh CodeMirror on expand (scrollbar)
2018-03-19 19:27:10 +01:00
Norbert Renner
ce279fd464
Adapt transit demo support to new sidebar
2018-03-15 14:59:53 +01:00
Norbert Renner
92aafc61d1
Fix elevation chart width, map not full width with sidebar open anymore
2018-03-08 11:47:44 +01:00