Revision 16326 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/geolocation/GeoLocationTocMenuEntry.java
GeoLocationTocMenuEntry.java | ||
---|---|---|
138 | 138 |
return; |
139 | 139 |
|
140 | 140 |
FLyrRasterSE lyr = (FLyrRasterSE)selectedItems[0]; |
141 |
GeoLocationDialog gld = new GeoLocationDialog(lyr); |
|
141 |
GeoLocationDialog gld = new GeoLocationDialog(lyr, mapCtrl.getViewPort());
|
|
142 | 142 |
if(!isOpen) { |
143 | 143 |
gld.calcPosition(); |
144 | 144 |
PluginServices.getMDIManager().addWindow(gld); |
Also available in: Unified diff