mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Set overlays over roads
This commit is contained in:
parent
ea0342d0e9
commit
d09523a962
1 changed files with 2 additions and 2 deletions
|
|
@ -181,10 +181,10 @@ struct MapViewSwiftUI: UIViewRepresentable {
|
|||
if overlays.contains(where: {$0 is MKPolyline}) {
|
||||
mapView.addOverlay(overlay, level: .aboveLabels)
|
||||
if let poly_overlay = overlays.filter({$0 is MKPolyline}).first {
|
||||
mapView.addOverlay(poly_overlay, level: .aboveLabels)
|
||||
mapView.addOverlay(poly_overlay, level: .aboveRoads)
|
||||
}
|
||||
} else {
|
||||
mapView.addOverlay(overlay, level: .aboveLabels)
|
||||
mapView.addOverlay(overlay, level: .aboveRoads)
|
||||
}
|
||||
} else {
|
||||
for overlay in overlays {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue