Im using the JMapViewer jar to show the world map on a JPanel.
On the map im adding MapMarkerDot's
which are gps points.
The problem is when i click a MapMarkerDot
on the map i cannot
find an interface or listener to catch the click and give me the
clicked MapMarkerDot
identity.
has anyone here worked with the code or can give me some ideas what to do.
I would not like to modify the jar source but maybe i have to input an interface.
I know this is kind of an abstract question but hoping for help
Answering my own question.
Basically solved this by raw x/y calculation comparing the
MapMarker position against mouse click position.