Skip to content

Commit b63b2a5

Browse files
Cluster markers from Bluemap
1 parent 48c8db9 commit b63b2a5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Alidade.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MCMaps/Shared/Models/Bluemap/BluemapResults.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ extension BluemapResults: CartographyIntegrationServiceData {
6666
location: CGPoint(x: annotation.position.x, y: annotation.position.z),
6767
title: annotation.label,
6868
color: .gray,
69-
systemImage: "xmark.circle"
69+
systemImage: "xmark.circle",
70+
clusterIdentifier: "bmap-death-marker"
7071
)
7172
}
7273
annotations.append(contentsOf: deathMarkers)
@@ -76,7 +77,8 @@ extension BluemapResults: CartographyIntegrationServiceData {
7677
let mapMarkers = group.markers.values.map { annotation in
7778
Marker(
7879
location: CGPoint(x: annotation.position.x, y: annotation.position.z),
79-
title: annotation.label)
80+
title: annotation.label,
81+
clusterIdentifier: "bmap-server-marker")
8082
}
8183
annotations.append(contentsOf: mapMarkers)
8284
}

0 commit comments

Comments
 (0)