Ignore:
Timestamp:
2010-09-01T20:45:20+02:00 (14 years ago)
Author:
jttt
Message:

Fix #5400 WMS plugin change it's zoom level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSLayer.java

    r22902 r22929  
    297297        /**
    298298         *
     299         * @return Size of image in original zoom
     300         */
     301        public int getBaseImageWidth() {
     302                int overlap = (WMSPlugin.PROP_OVERLAP.get()?WMSPlugin.PROP_OVERLAP_EAST.get() * imageSize / 100:0);
     303                return imageSize + overlap;
     304        }
     305
     306        /**
     307         *
     308         * @return Size of image in original zoom
     309         */
     310        public int getBaseImageHeight() {
     311                int overlap = (WMSPlugin.PROP_OVERLAP.get()?WMSPlugin.PROP_OVERLAP_NORTH.get() * imageSize / 100:0);
     312                return imageSize + overlap;
     313        }
     314
     315
     316        /**
     317         *
    299318         * @param xIndex
    300319         * @param yIndex
Note: See TracChangeset for help on using the changeset viewer.