andreagrandi / andreagrandi/book-corners-ios
Add native MapKit clustering to the map tab
- Ngôn ngữ chính
- Swift
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Context
The plan calls for replacing the current SwiftUI `Map` annotations with a native `MKMapView` wrapper so visible libraries can cluster when zoomed out.
## Scope
- Add `LibraryAnnotation` to carry a `Library` with each annotation.
- Add individual and cluster annotation views with clear count styling.
- Build `ClusteredMapView` as a `UIViewRepresentable` around `MKMapView`.
- Keep existing filters, navigation, selected-library sheet, and user location behavior.
## Acceptance criteria
- Zoomed-out maps show cluster bubbles with counts.
- Zooming in splits clusters into individual library pins.
- Tapping a pin still opens the existing library card and detail flow.
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á.