public final class DefaultMarkerProducers extends java.lang.Object implements MarkerProducers
Constructor and Description |
---|
DefaultMarkerProducers() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Marker> |
createMarkers(WayPoint wpt,
java.io.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, or
null otherwise. |
private static java.net.URL |
uriToUrl(java.lang.String uri,
java.io.File relativePath) |
public DefaultMarkerProducers()
public java.util.Collection<Marker> createMarkers(WayPoint wpt, java.io.File relativePath, MarkerLayer parentLayer, double time, double offset)
MarkerProducers
null
otherwise.createMarkers
in interface MarkerProducers
wpt
- waypoint datarelativePath
- An path to use for constructing relative URLs or
null
for 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 derivednull
.private static java.net.URL uriToUrl(java.lang.String uri, java.io.File relativePath)