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, paintcreateMarker, evaluateCondition, getCoor, getEastNorth, getTemplateKeys, getTemplateValue, getText, getTextTemplate, isErroneous, paintIcon, setCoor, setEastNorth, setErroneouspublic ImageMarker(LatLon ll, URL imageUrl, MarkerLayer parentLayer, double time, double offset)
public void actionPerformed(ActionEvent ev)
MarkeractionPerformed in class Markerev - A dummy ActionEventprivate static Icon loadScaledImage(URL u, int maxSize)
public WayPoint convertToWayPoint()
MarkerconvertToWayPoint in class Marker