class MapElementTreeSet extends StandardGISTreeSet<P> implements GISElementSet<P> {

	@Override
	@Pure
	public final P getNearest(Point2D<?, ?> position) {
		final Pair<P, Double> data = getNearestData(position.getX(), position.getY());
		if (data != null) {
			return data.getKey();
		}
		return null;
	}

	public  MapElementTreeSet();
	public  MapElementTreeSet(double boundsX, double boundsY, double boundsWidth, double boundsHeight);
	public  MapElementTreeSet(Rectangle2afp<?, ?, ?, ?, ?, ?> bounds);

}