andreagrandi / andreagrandi/book-corners
Tighten map GeoJSON fallback behavior for large datasets
- Ngôn ngữ chính
- Python
- Star
- 9
- Fork
- 1
- Merge trung bình
- 9 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
## Context
The map endpoint already supports bounds filtering and server-side clustering, but direct unfiltered requests can still return the full approved-library GeoJSON payload.
## Scope
- Review whether unbounded high-zoom or no-zoom requests should be limited, clustered, or require bounds.
- Add payload size, query count, and response-time measurements before and after changes.
- Keep old cached pages and direct links from breaking where possible.
## Acceptance criteria
- The endpoint has a clear safeguard for large unbounded responses.
- Tests document behavior for no bounds, bounds, low zoom clustering, and search filters.
- The map still loads correctly on first render.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.