Point GraphicsTracker


Purpose
This sample demonstrate the use of GraphicTracker to simplify visualization of elements on the map. In this sample, GraphicTracker is used to draw points on the map.

How to use

See How to use ArcGIS samples for help on running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Run the sample by adding Java –jar Display.GraphicsTrackerPoint.jar(Display.GraphicsTrackerPoint.jar can be located at %DEVKITJAVA%\java\samples\arcobjects\display\graphicstrackerpoint\bin) on the command line.
  2. Click the Add Graphics Tracker button on the toolbar.
  3. After awhile, you can see points moving on the map. This movement is done by using the graphics tracker.


Download the files for Java
graphicstracker\EngineVisualApp.java Main visual application with a command called Add Graphics Tracker onClick in which graphics tracker is invoked for points.
graphicstracker\AddPointGTCommand.java Implementation of the Add Graphics Tracker command that uses the graphics tracker to move points on the map.




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced