Ignore:
Timestamp:
2008-02-21T19:53:16+01:00 (16 years ago)
Author:
david
Message:

(a) add preference dialog, (b) add audio tracing

File:
1 edited

Legend:

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

    r547 r553  
    1212import org.openstreetmap.josm.data.coor.LatLon;
    1313import org.openstreetmap.josm.tools.OpenBrowser;
     14import org.openstreetmap.josm.gui.layer.Layer;
    1415
    1516/**
     
    2324        public URL webUrl;
    2425
    25         public static WebMarker create (LatLon ll, String url, double offset) {
     26        public static WebMarker create (LatLon ll, String url, MarkerLayer parentLayer, double time, double offset) {
    2627                try {
    27                         return new WebMarker(ll, new URL(url), offset);
     28                        return new WebMarker(ll, new URL(url), parentLayer, time, offset);
    2829                } catch (Exception ex) {
    2930                        return null;
     
    3132        }
    3233
    33         private WebMarker(LatLon ll, URL webUrl, double offset) {
    34                 super(ll, "web.png", offset);
     34        private WebMarker(LatLon ll, URL webUrl, MarkerLayer parentLayer, double time, double offset) {
     35                super(ll, "web.png", parentLayer, time, offset);
    3536                this.webUrl = webUrl;
    3637        }
Note: See TracChangeset for help on using the changeset viewer.