LOCATION_TYPE_GEOHASH
LOCATION_TYPE_GEOHASH
Geo distance filter.
This function can be used to handle params for queries, filter
__construct(string $key, array|string $location, string $distance)
Create GeoDistance object.
string | $key | Key |
array|string | $location | Location as array or geohash: array('lat' => 48.86, 'lon' => 2.35) OR 'drm3btev3e86' |
string | $distance | Distance |