Ignore:
Timestamp:
2015-09-29T20:12:40+02:00 (9 years ago)
Author:
simon04
Message:

fix #10208 - Gpx markers: show names for audio, image, url, markers

Modifies interface MarkerProducers which is not used outside of JOSM core.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerProducers.java

    r6830 r8806  
    33
    44import java.io.File;
     5import java.util.Collection;
    56
    67import org.openstreetmap.josm.data.gpx.WayPoint;
     
    1617public interface MarkerProducers {
    1718    /**
    18      * Returns a Marker object if this implementation wants to create one for the
     19     * Returns a collection of Marker objects if this implementation wants to create one for the
    1920     * given input data, or <code>null</code> otherwise.
    2021     *
     
    2223     * @param relativePath An path to use for constructing relative URLs or
    2324     *        <code>null</code> for no relative URLs
    24      * @return A Marker object, or <code>null</code>.
     25     * @return A collection of Marker objects, or <code>null</code>.
    2526     */
    26     Marker createMarker(WayPoint wp, File relativePath, MarkerLayer parentLayer, double time, double offset);
     27    Collection<Marker> createMarkers(WayPoint wp, File relativePath, MarkerLayer parentLayer, double time, double offset);
    2728}
Note: See TracChangeset for help on using the changeset viewer.