Revision 24439 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/saveraster/operations/RasterizerLayer.java
RasterizerLayer.java | ||
---|---|---|
32 | 32 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
33 | 33 |
import com.iver.andami.PluginServices; |
34 | 34 |
import com.iver.andami.messages.NotificationManager; |
35 |
import com.iver.cit.gvsig.fmap.DefaultMapContextDrawer; |
|
35 | 36 |
import com.iver.cit.gvsig.fmap.ViewPort; |
36 | 37 |
import com.iver.cit.gvsig.fmap.layers.FLayers; |
37 | 38 |
import com.iver.utiles.swing.threads.Cancellable; |
... | ... | |
162 | 163 |
public void setCanceled(boolean canceled) {} |
163 | 164 |
}; |
164 | 165 |
|
165 |
//flayers.setDirty(true); |
|
166 |
flayers.draw(image, g, viewPortBlock, cancel, flayers.getMapContext().getScaleView()); |
|
166 |
DefaultMapContextDrawer mapContextDrawer = new DefaultMapContextDrawer(); |
|
167 |
mapContextDrawer.setMapContext(flayers.getMapContext()); |
|
168 |
mapContextDrawer.setViewPort(viewPortBlock); |
|
169 |
mapContextDrawer.draw(flayers, image, g, cancel, flayers.getMapContext().getScaleView()); |
|
167 | 170 |
|
168 | 171 |
// Si es el ?ltimo bloque vaciamos el historial de m?ximos y m?nimos |
169 | 172 |
if ((contBlocks + 1) == nBlocks) { |
Also available in: Unified diff