Changeset 26648 in osm for applications/viewer


Ignore:
Timestamp:
2011-09-12T22:08:16+02:00 (13 years ago)
Author:
bastik
Message:

applied josm 6825 - Display imagery providers bbox in a slippy map (patch by Don-vip)

Location:
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java

    r26253 r26648  
    671671    }
    672672
     673    public void removeAllMapMarkers() {
     674        mapMarkerList.clear();
     675        repaint();
     676    }
     677
    673678    public void addMapRectangle(MapRectangle rectangle) {
    674679        mapRectangleList.add(rectangle);
     
    678683    public void removeMapRectangle(MapRectangle rectangle) {
    679684        mapRectangleList.remove(rectangle);
     685        repaint();
     686    }
     687
     688    public void removeAllMapRectangles() {
     689        mapRectangleList.clear();
    680690        repaint();
    681691    }
Note: See TracChangeset for help on using the changeset viewer.