andreagrandi / andreagrandi/book-corners-ios

Add native MapKit clustering to the map tab

未关闭
#14 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
book-corners-ios enhancement
主要语言
Swift
星标
2
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

## 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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。