Changeset 29854 in osm for applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java
- Timestamp:
- 2013-08-21T03:47:16+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java
r26174 r29854 9 9 10 10 import org.openstreetmap.josm.gui.layer.Layer; 11 import org.openstreetmap.josm.gui.MapView; 11 12 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 12 13 import org.openstreetmap.josm.gui.MapFrame; … … 95 96 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 96 97 if (oldFrame != null) 97 oldFrame.mapView.removeLayerChangeListener(this);98 MapView.removeLayerChangeListener(this); 98 99 99 100 driveAction.frame = newFrame; … … 101 102 102 103 if (newFrame != null) 103 newFrame.mapView.addLayerChangeListener(this);104 MapView.addLayerChangeListener(this); 104 105 } 105 106
Note:
See TracChangeset
for help on using the changeset viewer.
