Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
ba326ee6
Commit
ba326ee6
authored
Nov 23, 2011
by
LM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes
parent
c5e9f9b9
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
764 additions
and
6 deletions
+764
-6
earth-singlesystem.html
images/earth-singlesystem.html
+759
-0
earth.html
images/earth.html
+5
-6
No files found.
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
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