(geohash: string)
| 10 | |
| 11 | // Function to create grid bounds from geohash |
| 12 | export const getGeohashBounds = (geohash: string) => { |
| 13 | const { latitude: [minLat, maxLat], longitude: [minLng, maxLng] } = decodeGeoHash(geohash); |
| 14 | return [ |
| 15 | [minLat, minLng], |
| 16 | [maxLat, maxLng], |
| 17 | ]; |
| 18 | }; |
no test coverage detected