Class DefaultMarkerProducers
java.lang.Object
org.openstreetmap.josm.gui.layer.markerlayer.DefaultMarkerProducers
- All Implemented Interfaces:
MarkerProducers
Marker specifying the default behaviour.
- Since:
- 11892 (extracted from Marker)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMarkers(WayPoint wpt, File relativePath, MarkerLayer parentLayer, double time, double offset) Returns a collection of Marker objects if this implementation wants to create one for the given input data, ornullotherwise.private static URL
-
Constructor Details
-
DefaultMarkerProducers
public DefaultMarkerProducers()
-
-
Method Details
-
createMarkers
public Collection<Marker> createMarkers(WayPoint wpt, File relativePath, MarkerLayer parentLayer, double time, double offset) Description copied from interface:MarkerProducersReturns a collection of Marker objects if this implementation wants to create one for the given input data, ornullotherwise.- Specified by:
createMarkersin interfaceMarkerProducers- Parameters:
wpt- waypoint datarelativePath- An path to use for constructing relative URLs ornullfor no relative URLsparentLayer- parent marker layertime- Absolute time of marker in seconds since epochoffset- Time offset in seconds from the gpx point from which it was derived- Returns:
- A collection of Marker objects, or
null.
-
uriToUrl
-