Home | Demos | Products
The demo uses a simple vector dataset. More detailed datasets, such as an Open Street Map dataset (OSM), may be used depending on the application needs.
The demo uses asyncronous map loading requests: when the map is zoomed or scrolled, the program will continue to operate in the old zoom or pan state and will switch to the new zoom or pan when the new map is ready. The GIS Air Traffic Monitoring Demo demonstrates an alternative approach that changes the drawing to the new zoom or pan state right away, while the new map will appear when it's loaded.
The demo shows functionality typical for the air traffic applications, changing the airplane icons to display more elaborate shapes when the map is zoomed in. The color of the airplane icon changes to display the plane's status. For the high zoom factors, the plane history is also displayed in a form of a shading out airplane trail.
The plane labels may also be turned on or off to control the amount of displayed information, and a tooltip with the flight information is displayed when the mouse is moved over a plane icon. The airport icons also display a tooltip with their coordinates on mouse over. On mobile devices, tooltips are activated by a touch and hold action.
When an airplane icon is selected with the mouse, a popup panel is activated to display additional information about the flight, including its flight number, lat/lon coordinates, speed and elevation.
The demo also shows an example of implementing a distance measuring mode.
On the initial appearance, the demo shows the map of the whole world in the orthographic projection, then zooms on the Florida area to show more details. When the map is zoomed in, the shape of the icons will change to show the plane's direction, and labels with additional information about the airplane will be displayed. A vertical bar next to the airplane icon will show the airplane's elevation. Icon labels may be turned on or off with a toolbar button.
The map may scrolled by dragging it with mouse or zoomed using zoom buttons in the toolbar. The tooltips may be used to identify toolbar buttons. The directional buttons in the upper left corner of the map may be used to scroll the map. The GLG GIS Object takes a complete care of the map display, automatically generating Map Server requests to re-generate the map image when the map is panned or zoomed.
A touch action performed on touch and drag is controlled by the Touch Action selection buttons that will be shown when this page is displayed on a mobile device.
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.
Refer to the map_server/README.txt file in the GLG installation directory for details. The demo source code also needs to be modified to set the SuppliedMapServerURL variable to point to your map server URL.