Changeset 9400 in osm


Ignore:
Timestamp:
2008-07-31T10:09:53+02:00 (16 years ago)
Author:
christofd
Message:

added patch from Marcus Wolschon to make it compile again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetWaypointAction.java

    r6164 r9400  
    8686        waypoint.attr.put("sym", iconName);
    8787        synchronized(LiveGpsLock.class) {
    88             layer.data.add(new Marker(event.getCoordinates(), markerText, iconName));
     88            //layer.data.add(new Marker(event.getCoordinates(), markerText, iconName));
     89            layer.data.add(new Marker(event.getCoordinates(), markerText, iconName, null, -1.0, 0.0));
    8990            if(gpsLayer != null) {
    9091                gpsLayer.data.waypoints.add(waypoint);
     
    105106            if(markerLayer == null) {
    106107                // not found, add a new one
    107                 markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null);
     108                //markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null);
     109                markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null, null);
    108110                Main.main.addLayer(markerLayer);
    109111            }
Note: See TracChangeset for help on using the changeset viewer.