Package org.geotools.swing.event

Mouse events and listener classes to work with both window and map positions.

Please keep in mind the following coordinate systems are in use at any point in time:

  • screen coordinates: the X,Y relative to the widget
  • map coordinates: the position in world coordinates as defined by the MapContext CoordinateReferenceSystem (for "EPSG:4326" these would be on lon/lat)
  • data coordinates: the position in data coordinates as defined by a single MapLayer