@Override
    protected Float getValue(final Geocache cache) {
        final Geopoint gp = (useCurrentPosition || coordinate == null) ?
                LocationDataProvider.getInstance().currentGeo().getCoords() : coordinate;

        return gp.distanceTo(cache.getCoords());
    }
Gets fixed-value coordinate set to this filter, may be null
main/src/main/java/cgeo/geocaching/filters/core/DistanceGeocacheFilter.java