Commit graph

45 commits

Author SHA1 Message Date
Norbert Renner
044dab0f80 Encode beeline hash as indexes 2021-06-23 23:23:36 +02:00
Norbert Renner
3c8be96085 Support beelines in hash url (first stab) 2021-06-19 16:23:01 +02: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
Antonin Delpeuch
7c02d78f0b
Fix color coding by cost. Closes #340. (#341)
Fix color coding by cost. Closes #340.

This makes sure it is relative to the length of the path.
2020-10-24 12:28:26 +02: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
Gautier Pelloux-Prayer
71c5075f9c Add eslint 2019-11-03 14:29:26 +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
Matzepan
544aab0716 Fixed problems with gulp-uglify 2019-10-10 19:36:25 +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
Gautier Pelloux-Prayer
d31be926d2 Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
Phyks (Lucas Verney)
5dc7445d62 Rework the include wording in the export modal 2019-07-20 19:43:07 +02:00
Phyks (Lucas Verney)
c1169c5c6a Export waypoints from BRouter-web interface. Counterpart of https://github.com/abrensch/brouter/pull/170 2019-07-16 12:12:31 +02:00
Norbert Renner
13407465f3 Ensure not undefined for polylines and polygons also (#183)
Which is the case when parsing polylines/polygons URL parameter without
weight.
2019-05-21 18:10:28 +02:00
Gautier Pelloux-Prayer
2a93efe455 Make gulp release happy 2019-05-20 21:49:21 +02:00
Gautier Pelloux-Prayer
64ceccf780 Ensure that nogo weight is not null nor undefined before using it 2019-05-20 19:29:20 +02:00
Gautier Pelloux-Prayer
3aba471c0a Add track name 2019-05-18 23:46:08 +02:00
Gautier Pelloux-Prayer
970a34981f Add prettier and reformat code 2019-05-17 20:55:39 +02:00
Phyks (Lucas Verney)
c58818e50b Fix for a few errors when loading nogos with weight
* Nogo weight was not set when loading nogos with a default weight
value.
* The URL would show up "NaN" values upon reloading the web interface
after having loaded some nogos.

Fix #174.
2019-05-10 08:50:38 +02:00
Gautier Pelloux-Prayer
f54d72644b translate via i18next 2019-02-26 18:02:02 +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
Phyks (Lucas Verney)
9a4dd78644 Add basic support for nogo polylines and polygons (no UI). 2019-01-05 00:07:52 +01:00
Phyks (Lucas Verney)
d43827cdd2 Add support for nogo weights in BRouter interface 2019-01-04 23:08:54 +01:00
Norbert Renner
fa86f0d248 Restore not adding custom profile to URL (#66)
See
1527a07d0e
2018-10-08 21:19:18 +02:00
Gautier Pelloux-Prayer
595ac34d58 Fix profile/alternative loading 2017-05-03 22:01:15 +02:00
Gautier Pelloux-Prayer
0947bbc89c Support URL even if latlon are missing 2017-04-07 08:43:15 +02: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
7a4eefed17 Leaflet 1.0: "L.geoJson" renamed to "L.geoJSON" (for consistency) 2017-03-16 09:46:26 +01:00
Norbert Renner
d9862d6cd2 Catch JSON.parse SyntaxError to show error message (#53) 2016-10-06 12:26:01 +02:00
Norbert Renner
14f8484953 add notes: not a public API 2015-06-19 12:11:51 +02:00
Norbert Renner
5a10a3a8f7 refactoring: use Util.getError 2015-03-25 11:30:38 +01:00
Norbert Renner
928229530f handle old 'format=gpx' permalinks: format is not an option 2014-08-22 10:44:54 +02:00
Norbert Renner
726cf4bba6 switch to GeoJSON response format instead of GPX:
- use BRouter track stats
- remove leaflet-gpx plugin
2014-08-22 10:10:07 +02:00
Norbert Renner
59d4acc3c6 abort pending requests from previous rerouteAllSegments (empty queue) 2014-08-20 16:03:01 +02:00
Norbert Renner
9ec5985b2c sequential segment requests (Async.js queue) instead of firing all at once,
fixes terminated requests when number of segments > maxthreads
2014-08-20 12:34:27 +02:00
Norbert Renner
fd98a2f102 error handling 2014-08-01 17:44:57 +02:00
Norbert Renner
5446bec15e move URL host to config 2014-05-30 14:17:06 +02:00
Norbert Renner
db63c0dd80 basic error handling for route request (needs more work) 2014-05-28 12:46:46 +02:00
Norbert Renner
f8768c5f8e error handling for profile upload 2014-05-27 18:21:21 +02:00
Norbert Renner
3c0765547c reuse existing custom profile file in editing session by passing id in URL 2014-05-22 18:01:12 +02:00
Norbert Renner
973d8bab75 profile upload (requires server update) 2014-05-22 11:20:22 +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