Revision 276
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/demo/ImageFrame.java | ||
---|---|---|
18 | 18 |
import com.iver.cit.gvsig.fmap.layers.LayerPath; |
19 | 19 |
import com.iver.cit.gvsig.fmap.layers.ProjectionMismatchException; |
20 | 20 |
import com.iver.cit.gvsig.fmap.rendering.LegendFactory; |
21 |
import com.iver.cit.gvsig.fmap.tools.ZoomMasMapTool;
|
|
21 |
import com.iver.cit.gvsig.fmap.tools.ZoomInMapTool;
|
|
22 | 22 |
public class ImageFrame extends JFrame { |
23 | 23 |
|
24 | 24 |
private javax.swing.JPanel jContentPane = null; |
... | ... | |
82 | 82 |
l.getSource().start(); |
83 | 83 |
jPanel.getMapContext().getViewPort().setExtent(l.getFullExtent()); |
84 | 84 |
l.getSource().stop(); |
85 |
jPanel.addMapTool("rectangulo", new ZoomMasMapTool());
|
|
85 |
jPanel.addMapTool("rectangulo", new ZoomInMapTool());
|
|
86 | 86 |
jPanel.addTool("zoomMas", "rectangulo"); |
87 | 87 |
jPanel.setTool("zoomMas"); |
88 | 88 |
} catch (ProjectionMismatchException e) { |
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLayers.java | ||
---|---|---|
356 | 356 |
Cancellable cancel) throws DriverIOException { |
357 | 357 |
for (Iterator iter = layers.iterator(); iter.hasNext();) { |
358 | 358 |
LayerOperations capa = (LayerOperations) iter.next(); |
359 |
FLayer lyr = (FLayer) capa; |
|
360 |
System.out.println("Dibujando " + lyr.getName()); |
|
359 | 361 |
|
360 | 362 |
//TODO comprobar si la capa es visible |
361 | 363 |
// if (capa.isVisible()){ |
Also available in: Unified diff