public class ImageMarker extends ButtonMarker
Marker.TemplateEntryProperty| Modifier and Type | Field and Description |
|---|---|
java.net.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,
java.net.URL imageUrl,
MarkerLayer parentLayer,
double time,
double offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.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 javax.swing.Icon |
loadScaledImage(java.net.URL u,
int maxSize) |
containsPoint, paintcreateMarker, evaluateCondition, getCoor, getEastNorth, getTemplateKeys, getTemplateValue, getText, getTextTemplate, isErroneous, paintIcon, setCoor, setEastNorth, setErroneouspublic java.net.URL imageUrl
public ImageMarker(LatLon ll, java.net.URL imageUrl, MarkerLayer parentLayer, double time, double offset)
public void actionPerformed(java.awt.event.ActionEvent ev)
MarkeractionPerformed in class Markerev - A dummy ActionEventprivate static javax.swing.Icon loadScaledImage(java.net.URL u, int maxSize)
public WayPoint convertToWayPoint()
MarkerconvertToWayPoint in class Marker