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
ba326ee6
Commit
ba326ee6
authored
Nov 23, 2011
by
LM
Browse files
Minor fixes
parent
c5e9f9b9
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
images/earth-singlesystem.html
0 → 100644
View file @
ba326ee6
This diff is collapsed.
Click to expand it.
images/earth.html
View file @
ba326ee6
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
<script
type=
"text/javascript"
src=
"https://www.google.com/jsapi?key=ABQIAAAA5Q6wxQ6lxKS8haLVdUJaqhSjosg_0jiTTs2iXtkDVG0n0If1mBRHzhWw5VqBZX-j4NuzoVpU-UaHVg"
></script>
<script
type=
"text/javascript"
src=
"https://www.google.com/jsapi?key=ABQIAAAA5Q6wxQ6lxKS8haLVdUJaqhSjosg_0jiTTs2iXtkDVG0n0If1mBRHzhWw5VqBZX-j4NuzoVpU-UaHVg"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
google
.
load
(
"
earth
"
,
"
1
"
,
{
'
language
'
:
'
en
'
});
google
.
load
(
"
earth
"
,
"
1
"
,
{
'
language
'
:
'
en
'
});
var
ge
=
null
;
var
ge
=
null
;
var
initialized
=
false
;
var
initialized
=
false
;
var
currAircraft
=
0
;
var
currAircraft
=
0
;
...
@@ -566,13 +565,12 @@ function initCallback(object)
...
@@ -566,13 +565,12 @@ function initCallback(object)
ge
.
getLayerRoot
().
enableLayerById
(
ge
.
LAYER_BORDERS
,
true
);
ge
.
getLayerRoot
().
enableLayerById
(
ge
.
LAYER_BORDERS
,
true
);
ge
.
getLayerRoot
().
enableLayerById
(
ge
.
LAYER_TREES
,
true
);
ge
.
getLayerRoot
().
enableLayerById
(
ge
.
LAYER_TREES
,
true
);
enableEventListener
();
document
.
getElementById
(
'
JScript_initialized
'
).
setAttribute
(
'
value
'
,
'
true
'
);
// Load heightmap
// Load heightmap
// http://www.inf.ethz.ch/personal/lomeier/data/untex-environment.dae
// http://www.inf.ethz.ch/personal/lomeier/data/untex-environment.dae
heightMapPlacemark
=
ge
.
createPlacemark
(
''
);
/*
heightMapPlacemark = ge.createPlacemark('');
heightMapPlacemark.setName('aircraft');
heightMapPlacemark.setName('aircraft');
heightMapModel = ge.createModel('');
heightMapModel = ge.createModel('');
ge.getFeatures().appendChild(heightMapPlacemark);
ge.getFeatures().appendChild(heightMapPlacemark);
...
@@ -594,8 +592,9 @@ function initCallback(object)
...
@@ -594,8 +592,9 @@ function initCallback(object)
planeLoc.setLongitude(currLon);
planeLoc.setLongitude(currLon);
planeLoc.setAltitude(currAlt);
planeLoc.setAltitude(currAlt);
heightMapPlacemark
.
setGeometry
(
heightMapModel
);
heightMapPlacemark.setGeometry(heightMapModel);*/
enableEventListener
();
document
.
getElementById
(
'
JScript_initialized
'
).
setAttribute
(
'
value
'
,
'
true
'
);
initialized
=
true
;
initialized
=
true
;
}
}
...
...
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