public interface MapMarker extends MapObject, ICoordinate
JMapViewer.addMapMarker(MapMarker)
,
JMapViewer.getMapMarkerList()
Modifier and Type | Interface and Description |
---|---|
static class |
MapMarker.STYLE |
Modifier and Type | Method and Description |
---|---|
Coordinate |
getCoordinate() |
double |
getLat() |
double |
getLon() |
MapMarker.STYLE |
getMarkerStyle() |
double |
getRadius() |
void |
paint(java.awt.Graphics g,
java.awt.Point position,
int radio)
Paints the map marker on the map.
|
getBackColor, getColor, getFont, getLayer, getName, getStroke, getStyle, getStyleAssigned, isVisible, setLayer
setLat, setLon
Coordinate getCoordinate()
double getLat()
getLat
in interface ICoordinate
double getLon()
getLon
in interface ICoordinate
double getRadius()
MapMarker.STYLE getMarkerStyle()
void paint(java.awt.Graphics g, java.awt.Point position, int radio)
position
specifies the
coordinates within g
g
- position
- radio
-