Class DefaultMarkerProducers

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createMarkers

        public java.util.Collection<MarkercreateMarkers​(WayPoint wpt,
                                                          java.io.File relativePath,
                                                          MarkerLayer parentLayer,
                                                          double time,
                                                          double offset)
        Description copied from interface: MarkerProducers
        Returns a collection of Marker objects if this implementation wants to create one for the given input data, or null otherwise.
        Specified by:
        createMarkers in interface MarkerProducers
        Parameters:
        wpt - waypoint data
        relativePath - An path to use for constructing relative URLs or null for no relative URLs
        parentLayer - parent marker layer
        time - Absolute time of marker in seconds since epoch
        offset - Time offset in seconds from the gpx point from which it was derived
        Returns:
        A collection of Marker objects, or null.
      • uriToUrl

        private static java.net.URL uriToUrl​(java.lang.String uri,
                                             java.io.File relativePath)