Class WebMarker
java.lang.Object
org.openstreetmap.josm.gui.layer.markerlayer.Marker
org.openstreetmap.josm.gui.layer.markerlayer.ButtonMarker
org.openstreetmap.josm.gui.layer.markerlayer.WebMarker
- All Implemented Interfaces:
ILatLon,IQuadBucketType,Destroyable,TemplateEngineDataProvider
Marker class with Web URL activation.
- Since:
- 200
-
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.gui.layer.markerlayer.Marker
LABEL_PATTERN_AUTO, LABEL_PATTERN_DESC, LABEL_PATTERN_NAME, MARKER_FORMATTED_OFFSET, MARKER_OFFSET, offset, parentLayer, symbol, timeFields inherited from interface org.openstreetmap.josm.data.coor.ILatLon
MAX_SERVER_PRECISION -
Constructor Summary
ConstructorsConstructorDescriptionWebMarker(LatLon ll, URL webUrl, MarkerLayer parentLayer, double time, double offset) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the mouse is clicked in the marker's hotspot.Convert Marker to WayPoint so it can be exported to a GPX file.private voidMethods inherited from class org.openstreetmap.josm.gui.layer.markerlayer.ButtonMarker
containsPoint, paintMethods inherited from class org.openstreetmap.josm.gui.layer.markerlayer.Marker
appendMarkerProducer, createMarkers, destroy, evaluateCondition, getBBox, getCoor, getTemplateKeys, getTemplateValue, getText, getTextTemplateKey, isErroneous, lat, lon, paintIcon, prependMarkerProducer, setCoor, setEastNorth, setErroneous, updateTextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openstreetmap.josm.data.coor.ILatLon
bearing, distanceSq, distanceSq, equalsEpsilon, equalsEpsilon, getEastNorth, greatCircleDistance, interpolate, isLatLonKnown
-
Field Details
-
webUrl
-
-
Constructor Details
-
WebMarker
-
-
Method Details
-
actionPerformed
Description copied from class:MarkerCalled when the mouse is clicked in the marker's hotspot. Never called for markers which always return false from containsPoint.- Overrides:
actionPerformedin classMarker- Parameters:
ev- A dummy ActionEvent
-
convertToWayPoint
Description copied from class:MarkerConvert Marker to WayPoint so it can be exported to a GPX file. Override in subclasses to add all necessary attributes.- Overrides:
convertToWayPointin classMarker- Returns:
- the corresponding WayPoint with all relevant attributes
-
updateErroneous
-