Class MapToolHandler

java.lang.Object
edu.cnu.mdi.container.BaseToolHandler
edu.cnu.mdi.mapping.container.MapToolHandler
All Implemented Interfaces:
IToolHandler

public class MapToolHandler extends BaseToolHandler
Map-specific tool handler that overrides creation gestures to produce map-native items whose geometry is stored in geographic coordinates rather than projection-space world coordinates.

Military symbol placement is handled entirely by drag-and-drop in MapContainer. This handler is responsible only for the normal map drawing tools such as line, polyline, polygon, and text.

  • Field Details

    • mapContainer

      protected final MapContainer mapContainer
      Owning map container.
  • Constructor Details

    • MapToolHandler

      public MapToolHandler(BaseContainer container)
      Creates a map tool handler bound to the given container.
      Parameters:
      container - the owning map container
  • Method Details