Cluster for map pins on the node details view

This commit is contained in:
Garth Vander Houwen 2023-01-10 06:49:19 -08:00
parent cd0fdec368
commit 8bc645412b
7 changed files with 144 additions and 266 deletions

View file

@ -223,7 +223,7 @@ public struct MapView: UIViewRepresentable {
}
let annotation = PositionAnnotation()
annotation.coordinate = position.coordinate!
annotation.coordinate = position.nodeCoordinate!
annotation.title = position.nodePosition!.user?.longName ?? NSLocalizedString("unknown", comment: "Unknown")
annotation.shortName = position.nodePosition!.user?.shortName?.uppercased() ?? "???"