public class ImageMarker extends ButtonMarker
Marker.TemplateEntryProperty
Modifier and Type | Field and Description |
---|---|
URL |
imageUrl |
LABEL_PATTERN_AUTO, LABEL_PATTERN_DESC, LABEL_PATTERN_NAME, MARKER_FORMATTED_OFFSET, MARKER_OFFSET, markerProducers, offset, parentLayer, symbol, time
Constructor and Description |
---|
ImageMarker(LatLon ll,
URL imageUrl,
MarkerLayer parentLayer,
double time,
double offset) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent ev)
Called when the mouse is clicked in the marker's hotspot.
|
WayPoint |
convertToWayPoint()
Convert Marker to WayPoint so it can be exported to a GPX file.
|
private static Icon |
loadScaledImage(URL u,
int maxSize) |
containsPoint, paint
createMarker, evaluateCondition, getCoor, getEastNorth, getTemplateKeys, getTemplateValue, getText, getTextTemplate, isErroneous, paintIcon, setCoor, setEastNorth, setErroneous
public ImageMarker(LatLon ll, URL imageUrl, MarkerLayer parentLayer, double time, double offset)
public void actionPerformed(ActionEvent ev)
Marker
actionPerformed
in class Marker
ev
- A dummy ActionEventprivate static Icon loadScaledImage(URL u, int maxSize)
public WayPoint convertToWayPoint()
Marker
convertToWayPoint
in class Marker