Interface HitIndicator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isHit​(org.openstreetmap.gui.jmapviewer.JMapViewer viewer, org.openstreetmap.gui.jmapviewer.Coordinate coord)
      Checks whether the given coordinate is a hit for a specific mapobject.
    • Method Detail

      • isHit

        boolean isHit​(org.openstreetmap.gui.jmapviewer.JMapViewer viewer,
                      org.openstreetmap.gui.jmapviewer.Coordinate coord)
        Checks whether the given coordinate is a hit for a specific mapobject.
        Parameters:
        viewer - the underlying viewer that triggered the call
        coord - the coordinate to check
        Returns:
        true if the mapobject is "hit" by this coordinate