From 0fc60f5f7089433757738784f995e27ce5bd8313 Mon Sep 17 00:00:00 2001 From: oberion Date: Tue, 16 Aug 2011 17:21:24 +0200 Subject: [PATCH] Google earth bug fixed fixed script error temporarly, no connectionlines between the waypoints anymore. --- images/earth.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/images/earth.html b/images/earth.html index 36438126c..260f8eb7b 100644 --- a/images/earth.html +++ b/images/earth.html @@ -1,4 +1,4 @@ - + @@ -366,8 +366,6 @@ function updateWaypoint(id, index, lat, lon, alt, action) location.setAltitude(alt); waypoints[index].setGeometry(location); waypoints[index].setDescription(index+""); - - } else { @@ -394,7 +392,7 @@ function updateWaypoint(id, index, lat, lon, alt, action) // Add the placemark to Earth. ge.getFeatures().appendChild(placemark); waypoints[index] = placemark; - } + } // Add waypoint line waypointLines[id].setExtrude(false); @@ -412,7 +410,7 @@ function updateWaypoint(id, index, lat, lon, alt, action) // Add the feature to Earth //if (waypointLinesVisible[id] == true) - ge.getFeatures().replaceChild(waypointLinePlacemarks[id], waypointLinePlacemarks[id]); + //ge.getFeatures().replaceChild(waypointLinePlacemarks[id], waypointLinePlacemarks[id]); // does not work // Add connecting line -- 2.22.0