diff --git a/images/earth.html b/images/earth.html
index afdcec85903127711b85d0d757b3a2a6ee2ce15c..8f8aadf59d0d832d707fcf540d82534dd0487800 100644
--- a/images/earth.html
+++ b/images/earth.html
@@ -1,34 +1,101 @@
-
+
-
+
QGroundControl Google Earth View
+
+function setCurrentAircraft(id)
+{
+ currAircraft = id;
+}
+
+function enableFollowing(follow)
+{
+ followEnabled = follow;
+}
+
+
+function updateFollowAircraft()
+{
+ if (followEnabled)
+ {
+ currView = ge.getView().copyAsLookAt(ge.ALTITUDE_ABSOLUTE);
+ currView.setLatitude(currLat);
+ currView.setLongitude(currLon);
+ currView.setAltitude(currAlt);
+ currView.setRange(currViewRange);
+ currView.setTilt(currFollowTilt);
+ ge.getView().setAbstractView(currView);
+ }
+}
+
+function failureCallback(object)
+{
+}
+
+
+