Norbert Renner
89d9e8763a
Run prettier after update
2022-05-18 15:53:09 +02:00
Gautier P
5e14484302
I18n nogo areas errors ( #413 )
2021-05-13 17:02:18 +02:00
Gautier P
7abd8d61dc
Fix nogo area loading via URL ( #405 )
2021-05-08 15:54:47 +02:00
Henrik Fehlauer
8b9fda47ad
Show missing filename in load no-go areas dialog
...
5b52abc1 copied `<label>` and `<input>` from the `loadedittrackForm` for
consistency, but missed to add some corresponding code to `NoGoAreas.js`.
After completing the implementation, the filename for loading no-go areas is now
displayed after selecting a file just like in the "Load track as route" dialog.
Test Plan:
- Open "Load no-go areas" dialog.
- Browse and select file.
- The filename should now be shown next to "Browse".
2021-03-29 18:00:00 +00:00
Marcus Jaschen
d1285baa69
change keyboard shortcuts; update tooltips
...
- "Load Track as Route" is now triggered by pressing `Shift-O`
- "Load No-Go-Areas" is now triggered by pressing `Shift-N`
- tooltip for navbar link is updated an ready for translation
2021-03-25 07:58:51 +01:00
Norbert Renner
2b94300c61
Handle editable:vertex:deleted event
...
to also update when a no-go polyline/polygon node is deleted
2021-02-09 15:51:25 +01:00
Norbert Renner
a5f04dd9cd
Determine allowed zone from admin boundaries ( #359 )
2021-01-15 22:29:20 +01:00
Gautier P
25429b3c24
Update prettier version
2020-12-05 11:51:16 +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
Henrik Fehlauer
a852acbfce
Add shortcut to create no-go areas
...
Press 'N' to initiate drawing a no-go area. 'Escape' will cancel,
similar to how drawing a route works.
2020-06-04 18:00:00 +00:00
Norbert Renner
32d4a26dfd
Fix nogo drawing for mobile Chrome, fixes #259
2020-06-05 20:11:36 +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
970a34981f
Add prettier and reformat code
2019-05-17 20:55:39 +02: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
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
20ddb88562
Replace L.Mixin.Events with L.Evented ( #103 )
2018-02-05 17:40:53 +01:00
Norbert Renner
69e53233ba
Replace Leaflet.draw with Leaflet.Editable, closes #100
2018-01-12 15:38:47 +01:00
Gautier Pelloux-Prayer
e82f360d9c
Replace permalink/Share URL feature with automatic URL rewriting on change.
2017-04-04 10:27:51 +02:00
Norbert Renner
136a182539
routing permalink
2014-05-15 20:37:17 +02:00
Norbert Renner
4cc16bccd0
initial commit
2014-01-27 18:34:48 +01:00