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
This commit is contained in:
parent
1d26949770
commit
0fc60c1821
5 changed files with 47 additions and 18 deletions
|
|
@ -9,8 +9,7 @@ BR.TrackStats = L.Class.extend({
|
|||
$('#stats-container').show();
|
||||
$('#stats-info').hide();
|
||||
|
||||
const hasBeeline = segments.filter((line) => line?._routing?.beeline).length > 0;
|
||||
document.getElementById('beeline-warning').hidden = !hasBeeline;
|
||||
document.getElementById('beeline-warning').hidden = !BR.Routing.hasBeeline(segments);
|
||||
|
||||
var stats = this.calcStats(polyline, segments),
|
||||
length1 = L.Util.formatNum(stats.trackLength / 1000, 1).toLocaleString(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue