mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Refresh pins on update
This commit is contained in:
parent
a6c4f0639e
commit
bc6a76e57e
1 changed files with 3 additions and 0 deletions
|
|
@ -83,6 +83,9 @@ struct MapViewSwiftUI: UIViewRepresentable {
|
|||
if dynamicRegion {
|
||||
self.moveToMeshRegion(mapView)
|
||||
}
|
||||
mapView.removeAnnotations(mapView.annotations)
|
||||
mapView.addAnnotations(positions)
|
||||
mapView.addAnnotations(waypoints)
|
||||
}
|
||||
|
||||
func makeCoordinator() -> MapCoordinator {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue