Revision 458 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/ShpStrategy.java
ShpStrategy.java | ||
---|---|---|
13 | 13 |
|
14 | 14 |
import com.iver.cit.gvsig.fmap.ViewPort; |
15 | 15 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
16 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
|
16 | 17 |
import com.iver.cit.gvsig.fmap.drivers.BoundedShapes; |
17 | 18 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
18 | 19 |
import com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver; |
... | ... | |
51 | 52 |
if (l instanceof ClassifiedLegendInfo) |
52 | 53 |
{ |
53 | 54 |
ClassifiedLegendInfo clsfLegend = (ClassifiedLegendInfo) l; |
54 |
FStyle2D[] symbs = clsfLegend.getSymbols();
|
|
55 |
FSymbol[] symbs = clsfLegend.getSymbols();
|
|
55 | 56 |
double rSym=0, maxRSym = -1; |
56 | 57 |
for (int i=0; i < symbs.length; i++) |
57 | 58 |
{ |
58 |
Style2D pointSymbol = symbs[i].getPointStyle2D(); |
|
59 |
// TODO: REVISAR LOS SIMBOLOS Y SUS TAMA?OS |
|
60 |
/* Style2D pointSymbol = symbs[i].getPointStyle2D(); |
|
59 | 61 |
if (pointSymbol instanceof MarkStyle2D) |
60 | 62 |
{ |
61 | 63 |
MarkStyle2D mrk2D = (MarkStyle2D) pointSymbol; |
62 | 64 |
rSym = viewPort.toMapDistance(mrk2D.getSize()); |
63 | 65 |
if (maxRSym < rSym) |
64 | 66 |
maxRSym = rSym; |
65 |
} |
|
67 |
}*/
|
|
66 | 68 |
|
67 | 69 |
} |
68 | 70 |
} |
... | ... | |
95 | 97 |
g.setPaint(Color.black); |
96 | 98 |
} */ |
97 | 99 |
|
98 |
FStyle2D symbol = l.getSymbol(i); // Cambiar esto
|
|
99 |
|
|
100 |
FSymbol symbol = l.getSymbol(i); // Cambiar esto
|
|
101 |
|
|
100 | 102 |
// if ((bounds.getHeight() > viewPort.getDist1pixel()) || |
101 | 103 |
// (bounds.getWidth() > viewPort.getDist1pixel())) |
102 | 104 |
{ |
Also available in: Unified diff