How to add a ToolTip to MapMarker in JMapViewer
问题 I'm trying to add a ToolTip to a custom MapMarker on JMapViewer . But repeaded searches on are not helping me solve this. The custom MapMarker is: public class MapMarkerUnit extends MapObjectImpl implements MapMarker and the Paint Method overide is public void paint(Graphics g, Point position, int radio) { String filename = "marker.png"; //System.out.print(filename); BufferedImage x = null; try { x = ImageIO.read(getClass().getResource(filename)); } catch (IOException ex) { Logger.getLogger