Home | AJAX Demos | Java Demos | Products

Satellite Orbits Demo

This demo demonstrates the use of the GLG Map Server and GIS Object to display 3D trajectories. Satellite icons are placed inside the GIS Object and positioned by supplying lat/lon coordinates. In the new 3.5 release of GLG, the elevation above the Earth surface may be supplied as the Z coordinate, making it possible to display 3D trajectories.

The Map Server is used to display the globe in the orthographic projection. The globe can be rotated by dragging the drawing with the mouse or using the directional buttons. The GIS Object takes a complete care of the map display, automatically generating Map Server requests to re-generate the image when the globe is rotated. The trajectory polygons are generated on the fly by adding points representing the current positions of the satellites. For faster zooming and panning, download and run the C/C++ version of the demo.

The Trajectory Demo presents another example of a 3D trajectory with a ground track and drop lines. Click here to run the Trajectory Demo.

Applet Source Code

NOTE: To run the demo locally from your own server, the GLG Map Server has to be setup on that server. If the map server is not set up, the map image will be missing.