LOCATION_TYPE_GEOHASH
LOCATION_TYPE_GEOHASH
Class GeohashCell.
This function can be used to handle params for queries, filter
__construct(string $key, array|string $location, string|integer $precision = -1, boolean $neighbors = false)
string | $key | The field on which to query |
array|string | $location | Location as coordinates array or geohash string ['lat' => 40.3, 'lon' => 45.2] |
string|integer | $precision | Integer length of geohash prefix or distance (3, or "50m") |
boolean | $neighbors | If true, queries cells next to the given cell. |