Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
stw
stwkit
Commits
f32c6c55
Commit
f32c6c55
authored
Jan 24, 2018
by
Tomas Pettersson
🏸
Browse files
guide pos fix
parent
e51fdf7e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
src/components/cards.js
View file @
f32c6c55
...
@@ -198,8 +198,8 @@ var STWkit;
...
@@ -198,8 +198,8 @@ var STWkit;
var
lat
=
56.0
;
var
lat
=
56.0
;
var
lng
=
19.0
;
var
lng
=
19.0
;
if
(
guide
)
{
if
(
guide
)
{
lat
=
guide
[
0
];
lat
=
guide
[
'
position
'
][
0
];
lng
=
guide
[
1
];
lng
=
guide
[
'
position
'
][
1
];
}
}
feature
[
'
geometry
'
][
'
coordinates
'
].
push
(
lng
);
feature
[
'
geometry
'
][
'
coordinates
'
].
push
(
lng
);
feature
[
'
geometry
'
][
'
coordinates
'
].
push
(
lat
);
feature
[
'
geometry
'
][
'
coordinates
'
].
push
(
lat
);
...
...
src/components/cards.js.map
View file @
f32c6c55
This diff is collapsed.
Click to expand it.
src/components/cards.ts
View file @
f32c6c55
...
@@ -224,8 +224,8 @@ module STWkit {
...
@@ -224,8 +224,8 @@ module STWkit {
var
lat
=
56.0
;
var
lat
=
56.0
;
var
lng
=
19.0
;
var
lng
=
19.0
;
if
(
guide
)
{
if
(
guide
)
{
lat
=
guide
[
0
];
lat
=
guide
[
'
position
'
][
0
];
lng
=
guide
[
1
];
lng
=
guide
[
'
position
'
][
1
];
}
}
feature
[
'
geometry
'
][
'
coordinates
'
].
push
(
lng
);
feature
[
'
geometry
'
][
'
coordinates
'
].
push
(
lng
);
feature
[
'
geometry
'
][
'
coordinates
'
].
push
(
lat
);
feature
[
'
geometry
'
][
'
coordinates
'
].
push
(
lat
);
...
...
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