Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stwkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stw
stwkit
Commits
f32c6c55
Commit
f32c6c55
authored
Jan 24, 2018
by
Tomas Pettersson
🏸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
guide pos fix
parent
e51fdf7e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/components/cards.js
src/components/cards.js
+2
-2
src/components/cards.js.map
src/components/cards.js.map
+1
-1
src/components/cards.ts
src/components/cards.ts
+2
-2
No files found.
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 source diff could not be displayed because it is too large. You can
view the blob
instead.
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
Markdown
is supported
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