Hex cells in viewport
GET/v2/map/tiles
Returns all hex cells within a bounding box as a GeoJSON FeatureCollection.
Consumed by the ghanapostgps-web frontend to render interactive hex maps.
Recommended resolution by zoom level:
| Zoom | Resolution | Cell Size |
|---|---|---|
| 6-7 | 4 | ~1,770 km² |
| 8-9 | 5 | ~253 km² |
| 10-11 | 6 | ~36 km² |
| 12-13 | 7 | ~5.2 km² |
| 14+ | 8 | ~0.74 km² |
Request
Responses
- 200
- 400
GeoJSON FeatureCollection
Invalid bbox, resolution, or too many cells