Revision 2029 trunk/extensions/extWCS/src/com/iver/cit/gvsig/gui/toc/WCSZoomToPixelTocMenuEntry.java
WCSZoomToPixelTocMenuEntry.java | ||
---|---|---|
93 | 93 |
double wcOriginCenterY = v.getExtent().getMinY()+((v.getExtent().getMaxY()-v.getExtent().getMinY())/2D); |
94 | 94 |
|
95 | 95 |
double maxRes = ((FLyrWCS) lyr).getMaxResolution(); |
96 |
System.out.println("maxRes: "+maxRes); |
|
97 | 96 |
double wcDstMinX = wcOriginCenterX-w2*maxRes; |
98 | 97 |
double wcDstMinY = wcOriginCenterY+h2*maxRes; |
99 | 98 |
double wcDstWidth = w2*maxRes*2D; |
Also available in: Unified diff