/** * DOCUMENT ME! * * @param collection DOCUMENT ME! */ public void addZoomFeaturesToCollection(final Collection<Feature> collection) { final Feature pointFeature = getFeature(); if (pointFeature != null) { final Feature boundedFeature = new PureNewFeature(pointFeature.getGeometry().buffer(500)); collection.add(boundedFeature); } }
/** DOCUMENT ME! */ private void correctBadGeomCorrect() { if (isEditable()) { final LinearReferencedPointFeature feature = getFeature(); final Feature badFeature = getBadGeomFeature(); feature.moveTo(badFeature.getGeometry().getCoordinate()); zoomToBadFeature(); } }