Revision 2183 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/OptimiceStrategy.java
OptimiceStrategy.java | ||
---|---|---|
91 | 91 |
try { |
92 | 92 |
VectorialAdapter adapter = ((SingleLayer) getCapa()).getSource(); |
93 | 93 |
DataSource ds = ((AlphanumericData) getCapa()).getRecordset(); |
94 |
ShapeInfo shapeinfo = adapter.getShapeInfo(); |
|
94 |
// ShapeInfo shapeinfo = adapter.getShapeInfo();
|
|
95 | 95 |
logger.debug("adapter.start()"); |
96 | 96 |
adapter.start(); |
97 | 97 |
logger.debug("ds.start()"); |
... | ... | |
114 | 114 |
VectorialLegend l = (VectorialLegend) ((ClassifiableVectorial) getCapa()).getLegend(); |
115 | 115 |
|
116 | 116 |
// TODO Falta rematar esta parte. |
117 |
if (shapeinfo.getBoundingBox(sc).intersects(extent)) { |
|
117 |
// if (shapeinfo.getBoundingBox(sc).intersects(extent)) {
|
|
118 | 118 |
FSymbol symbol = l.getSymbol(i); |
119 | 119 |
geom.draw(g, viewPort, symbol); |
120 |
} |
|
120 |
// }
|
|
121 | 121 |
} |
122 | 122 |
|
123 | 123 |
long t2 = System.currentTimeMillis(); |
Also available in: Unified diff