Revision 2531 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrDefault.java
FLyrDefault.java | ||
---|---|---|
40 | 40 |
*/ |
41 | 41 |
package com.iver.cit.gvsig.fmap.layers; |
42 | 42 |
|
43 |
import com.iver.cit.gvsig.fmap.DriverException; |
|
44 |
import com.iver.cit.gvsig.fmap.FMap; |
|
45 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
43 |
import java.util.ArrayList; |
|
44 |
import java.util.Iterator; |
|
46 | 45 |
|
47 |
import com.iver.utiles.XMLEntity; |
|
48 |
|
|
49 | 46 |
import org.cresques.cts.ICoordTrans; |
50 | 47 |
import org.cresques.cts.IProjection; |
51 | 48 |
import org.cresques.cts.ProjectionPool; |
52 |
import org.cresques.cts.gt2.CoordSys; |
|
53 |
import org.cresques.cts.gt2.CoordTrans; |
|
54 | 49 |
|
55 |
import java.beans.PropertyChangeSupport; |
|
50 |
import com.iver.cit.gvsig.fmap.DriverException; |
|
51 |
import com.iver.cit.gvsig.fmap.FMap; |
|
52 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
53 |
import com.iver.utiles.XMLEntity; |
|
56 | 54 |
|
57 |
import java.util.ArrayList; |
|
58 |
import java.util.Iterator; |
|
59 | 55 |
|
60 |
import javax.swing.JOptionPane; |
|
61 |
|
|
62 |
|
|
63 | 56 |
/** |
64 | 57 |
* Implementaci?n de las caracter?sticas de alto nivel de las capas: |
65 | 58 |
* visibilidad, activaci?n, nombre, ... |
66 | 59 |
*/ |
67 | 60 |
public abstract class FLyrDefault implements FLayer { |
68 |
private PropertyChangeSupport lnkPropertyChangeSupport; |
|
61 |
//private PropertyChangeSupport lnkPropertyChangeSupport;
|
|
69 | 62 |
|
70 | 63 |
/** Path de la capa en el arbol de capas */ |
71 | 64 |
private FLayers parentLayer = null; |
... | ... | |
433 | 426 |
this.maxScale = maxScale; |
434 | 427 |
} |
435 | 428 |
|
436 |
public boolean isWithinScale() |
|
429 |
public boolean isWithinScale(double scale)
|
|
437 | 430 |
{ |
438 |
double scale = getFMap().getScaleView(); |
|
431 |
|
|
439 | 432 |
boolean bVisible = true; |
440 | 433 |
if (getMinScale() != -1) |
441 | 434 |
{ |
Also available in: Unified diff