Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
479c633b
Commit
479c633b
authored
Feb 28, 2011
by
lm
Browse files
Fixed minor javascript console output error
parent
2cc09fd2
Changes
1
Show whitespace changes
Inline
Side-by-side
images/earth.html
View file @
479c633b
...
...
@@ -362,7 +362,6 @@ function updateWaypoint(id, index, lat, lon, alt, action)
location
.
setAltitude
(
alt
);
waypoints
[
index
].
setGeometry
(
location
);
waypoints
[
index
].
setDescription
(
index
+
""
);
console
.
log
(
'
WP LOC:
'
+
lat
+
lon
+
alt
);
}
else
{
...
...
@@ -373,7 +372,7 @@ function updateWaypoint(id, index, lat, lon, alt, action)
if
(
index
<
10
)
numberstring
=
'
0
'
+
numberstring
icon
.
setHref
(
'
http://google-maps-icons.googlecode.com/files/red
'
+
numberstring
+
'
.png
'
);
var
style
=
ge
.
createStyle
(
''
);
console
.
log
(
'
WP ICON created:
'
+
'
http://google-maps-icons.googlecode.com/files/red
'
+
numberstring
+
'
.png
'
);
//
console.log('WP ICON created:' + 'http://google-maps-icons.googlecode.com/files/red' + numberstring +'.png');
style
.
getIconStyle
().
setIcon
(
icon
);
//style.getIconStyle().setScale(0.5);
placemark
.
setStyleSelector
(
style
);
...
...
@@ -424,7 +423,7 @@ function createAircraft(id, type, color)
//planeColor = color;
createTrail
(
id
,
color
);
console
.
log
(
color
);
//
console.log(color);
}
function
createTrail
(
id
,
color
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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