Skip to content

Commit a2279ba

Browse files
committed
Sidestepping a bug updating the TimeWidget in the Explorer/Globe.
1 parent 5896623 commit a2279ba

File tree

1 file changed

+4
-2
lines changed
  • worldwind-gs-explorer/src/main/resources/explorer/js/model

1 file changed

+4
-2
lines changed

worldwind-gs-explorer/src/main/resources/explorer/js/model/Explorer.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,10 @@ define(['jquery',
183183
this.wwd.navigator.roll = roll;
184184
this.wwd.redraw();
185185
}
186-
this.globe.lookAt(lat, lon, alt);
187-
this.globe.updateEyePosition(); // update time widget
186+
// FIX THIS: viewpoint is not updating!
187+
// this.globe.lookAt(lat, lon, alt);
188+
// this.globe.updateEyePosition(); // update time widget
189+
this.lookAtLatLon(lat,lon,alt);
188190
return;
189191
}
190192
}

0 commit comments

Comments
 (0)