org.openstreetmap.josm.gui.layer.markerlayer
Interface MarkerProducers


public interface MarkerProducers

This interface has to be implemented by anyone who wants to create markers. When reading a gpx file, all implementations of MarkerMaker registered with the Marker are consecutively called until one returns a Marker object.


Method Summary
 Marker createMarker(WayPoint wp, java.io.File relativePath, MarkerLayer parentLayer, double time, double offset)
          Returns a Marker object if this implementation wants to create one for the given input data, or null otherwise.
 

Method Detail

createMarker

Marker createMarker(WayPoint wp,
                    java.io.File relativePath,
                    MarkerLayer parentLayer,
                    double time,
                    double offset)
Returns a Marker object if this implementation wants to create one for the given input data, or null otherwise.

Parameters:
wp - waypoint data
relativePath - An path to use for constructing relative URLs or null for no relative URLs
Returns:
A Marker object, or null.


JOSM