File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
GoInfoGame/GoInfoGame/UI/Map Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ struct CustomMap: UIViewRepresentable {
159159 func reloadMap( ) async {
160160 guard let mapView = mapView else { return }
161161 async let changes = clusterManager. reload ( mapViewSize: mapView. bounds. size, coordinateRegion: mapView. region)
162+ debugPrint ( " Annotation Changes: insertions: \( await changes. insertions. count) removals: \( await changes. removals. count) " )
162163 await applyChanges ( changes)
163164 }
164165
Original file line number Diff line number Diff line change @@ -435,8 +435,10 @@ struct MapView: View {
435435 case . synced:
436436 isSyncing = false
437437 print ( " synced " )
438+ viewModel. checkSyncStatus ( )
438439 case . failed( let message) :
439440 isSyncing = false
441+ shouldShowPolyline = false
440442 viewModel. checkSyncStatus ( )
441443 case . hideElement( let elementId, let elementName) :
442444 shouldShowPolyline = false
You can’t perform that action at this time.
0 commit comments