Commit graph

31 commits

Author SHA1 Message Date
Tobias
a376c4725c New info icons for export
* if format will include turns
* warning fit with server download
2022-09-14 21:02:50 +02:00
Tobias
3e81d80cc5 Added new export as FIT file format fixes #322
Actual FIT encoding logic created as a new repo "fit-file-writer"
2022-09-14 21:02:50 +02:00
Norbert Renner
4a31ebe112 Fix download click for Firefox < 75 (attach to DOM) 2022-06-29 10:01:45 +02:00
Norbert Renner
0fc60c1821 Work around iOS 3rd party browser download (#418)
- use FileReader.readAsDataURL (for iOS Chromium)
- add alternative Download from Server for now until proven in Prod and fixed in iOS Firefox (no i18n)
- replace cloud icons as client-side now
2022-05-28 14:27:32 +02:00
Norbert Renner
1d26949770 Refactor download 2022-05-27 12:16:05 +02:00
Norbert Renner
3c8be96085 Support beelines in hash url (first stab) 2021-06-19 16:23:01 +02:00
Norbert Renner
c3db03d1e3 Keep ele when removing duplicates on concat 2021-06-11 12:01:10 +02:00
Norbert Renner
1330317f1d Merge branch 'master' into 68-sl-formatting 2021-04-10 12:48:10 +02:00
Norbert Renner
393a3fa129 Cleanup and credits 2021-04-09 11:52:51 +02:00
Norbert Renner
7aa2fcb93c Download in client from Blob URL 2021-04-01 23:42:56 +02:00
Henrik Fehlauer
7edae911dc Select parts of trackname in export dialog for easier overwriting
Users might want to assign custom tracknames, which requires deleting the
default name either entirely or parts of it.

By pre-selecting parts of the trackname, users can start typing right away
after opening the dialog. `Ctrl+A` to select everything is still possible,
but keeping the distance in the filename by default comes in handy,
e.g. when using a file manager not displaying the track length.

NB: Might need adaptation once trackname validation becomes less strict,
i.e. currently "(" and "->" as specified in the message catalog are replaced
with ' - ' by the validator before being inserted into the dialog.

Test Plan:
- Open "Export" dialog ("Location - Other Location - 2km")
- Open "Export" dialog for roundtrip ("Location - 1km")
- In both cases the complete trackname except for the distance
  information (including separator) should be selected.
- No unwanted behaviour even if Nominatim is slow or down.
2021-04-01 18:00:00 +00:00
Norbert Renner
0fc468a682 Format CSV 2021-04-01 12:17:18 +02:00
Norbert Renner
00f2cead36 Format KML 2021-04-01 11:53:17 +02:00
Norbert Renner
265583e0c5 Format name and creator 2021-03-19 12:22:20 +01:00
Norbert Renner
da9ffd9224 Format POIs 2021-03-19 10:23:37 +01:00
Norbert Renner
7fc2f6bee5 Format route points as waypoints 2021-03-18 18:04:57 +01:00
Norbert Renner
2189d68af9 Parse voicehint modes form profile 2021-03-16 19:56:02 +01:00
Norbert Renner
25f8828ae7 Concatenate total track
+ handle server voicehint time removed, times with 3 digits
2021-03-12 21:20:35 +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
Norbert Renner
a1af69a44c Prevent submit action to avoid side effects (#328)
Otherwise the download is blocked and a `/?format=gpx#` query is added to the URL in Chromium.
2020-08-04 11:13:24 +02:00
Henrik Fehlauer
a420ad5c0b Add shortcut to export route
Press 'X' to trigger the export route dialog.

Automatically populating the trackname field should work too.
2020-06-10 18:00:00 +00:00
Gautier Pelloux-Prayer
fa5af58372 Add markers POI layer 2019-10-10 21:07:49 +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
fc598fae2e Warn when server quick fix will remove track name chars (#194, #202) 2019-06-27 09:30:11 +02:00
Norbert Renner
785abe5b99 Remove redundant 'download' link attribute, fixes #201 2019-06-24 18:38:01 +02:00
Gautier Pelloux-Prayer
ca489cbff0 Handle Edge 17 and earlier versions 2019-05-31 11:16:28 +02:00
Gautier Pelloux-Prayer
2a93efe455 Make gulp release happy 2019-05-20 21:49:21 +02:00
Gautier Pelloux-Prayer
3aba471c0a Add track name 2019-05-18 23:46:08 +02:00