Home | Java Demos | AJAX Demos | Products

GLG Java Demo: Aircombat Simulation

This demo visualizes a dog fight simulation. The demo concentrates on the simulation and uses a simplistic vector map as a background. Click here for examples of real GIS maps.

  • Overview
  • User Interface

  • Applet Source Code


    Overview

    This demo uses the GLG Bean to run the dog fight simulation in the browser and demonstrates the following features of the GLG Toolkit:

  • Dynamic creation of aircraft and missile icons
  • Updating dynamic objects in 3D on top of a vector map.
       The GIS Object may be used to display a real map as an alternative.
  • Attributes dynamics is used to change color of the selected plane and change icon sizes.
  • Object selection is used to select planes or missiles with the mouse.
  • Popup dialogs are used to display a position and other information of the selected object.
  • Zooming and Panning
  • Layering: switching map display on of off.
  • User Interface

  • To display an aircraft's or missile's ID and location, select them with the mouse.
       For fast moving objects, this is more convenient than the tooltips used in other demos.
  • Use buttons on the right to change icon size, toggle the map display and restart the animation.
  • Use the sliders at the bottom to zoom and pan.
       The pan control becomes active when the map is zoomed in.
  • The drawing was created using the GLG Graphics Builder.

    The demo uses similated data. However, provided with a data source, it can display live data.