Ignore:
Timestamp:
2011-10-09T23:41:21+02:00 (15 years ago)
Author:
pieren
Message:

Add a new possibility to shift cadastre vector maps (not saved in cache)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSVectorImage.java

    r26509 r26823  
    3636                    if (CacheControl.cacheEnabled) {
    3737                        if (wmsLayer.grabThread.getCacheControl().loadCacheIfExist()) {
    38                             Main.map.mapView.zoomTo(wmsLayer.getCommuneBBox().toBounds());
     38                            Main.map.mapView.zoomTo(wmsLayer.getFirstViewFromCacheBBox().toBounds());
    3939                            //Main.map.mapView.repaint();
    4040                            return;
Note: See TracChangeset for help on using the changeset viewer.