Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Michael Ochmann
trakr.
Commits
e05566d5
Commit
e05566d5
authored
Jul 15, 2018
by
Michael Ochmann
Browse files
.
parent
18a90fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/javascript/controllers/ViewController.js
View file @
e05566d5
...
...
@@ -162,7 +162,7 @@ class ViewController extends UIViewController {
let
blob
=
new
Blob
([
Std
.
StringToBinary
(
new
GeoJSONCollection
(
track
).
toString
())],
{
type
:
mediaType
});
let
blobUrl
=
URL
.
createObjectURL
(
blob
);
link
.
s
etAttribute
(
"
style
"
,
"
cursor
:
pointer
"
)
;
link
.
s
tyle
.
cursor
=
"
pointer
"
;
document
.
body
.
appendChild
(
link
);
link
.
download
=
`
${
track
.
name
.
toLowerCase
().
replace
(
new
RegExp
(
"
"
,
"
g
"
),
'
_
'
)}
.json`
;
link
.
href
=
blobUrl
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment