createBBoxFilter(Envelope boundingBox, ILayer layer, short filterType) Creates A geometry filter for the given layer.
Parameters: boundingBox - in the same crs as the viewport model.
public SelectGeometryCommand(EditToolHandler handler, MapMouseEvent e, Class[] acceptableClasses, short filterType, boolean permitClear, boolean onlyAdd)(Code)
Method Detail
createBBoxFilter
public Filter createBBoxFilter(Envelope boundingBox, ILayer layer, short filterType)(Code)
Creates A geometry filter for the given layer.
Parameters: boundingBox - in the same crs as the viewport model. a Geometry filter in the correct CRS or null if an exception occurs.