Revision 23575

View differences:

branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/vectorial/FLyrVect.java
386 386
    			String featureFilter = null;
387 387

  
388 388
    			if (!viewPort.getAdjustedExtent().contains((Envelope)featureStore.getMetadata().get("extent"))) {
389
					featureFilter=this.getDataStoreFilterForGeomerty(
390
						viewPort.getAdjustedExtent().getGeometry(),
389
					featureFilter = this
390
							.getDataStoreFilterForEnvelope(
391
						viewPort.getAdjustedExtent(),
391 392
						featureStore.getDefaultFeatureType().getDefaultGeometry(),
392 393
						null);
393 394
				}
......
1387 1388
		Geometry geom = GeometryManager.getInstance().getGeometryFactory()
1388 1389
				.createCircle(mapPoint, tol);
1389 1390

  
1390
		return queryByGeometry(geom, featureType);
1391
//		return queryByGeometry(geom, featureType);
1392
		return queryByEnvelope(geom.getEnvelope(), featureType);
1391 1393
	}
1392 1394

  
1393 1395

  

Also available in: Unified diff