Meshtastic-Apple/Meshtastic/Views/Nodes/Helpers/Map/MapContent
Mike Robbins 402cb836b5
NodeMap performance improvements for high # positions history (#1480)
* NodeMapContent: move Route Lines out of ForEach

* NodeMapContent: move Convex Hull out of ForEach

* NodeMapContent: Replace `position.nodePosition?` with `node`

* NodeMapContent: drop unnecessary LazyVStack in showNodeHistory

* NodeMapContent: hoist out nodeColorSwift

* Move lineCoords, loraCoords calculations within showRouteLines, showConvexHull respectively

* Hoist out repeated node.metadata?.positionFlags lookups / PositionFlags creation

* NodeMapContent: remove unused @State

* NodeMapSwiftUI: add NodeMapContentEquatableWrapper and NodeMapContentSignature to prevent frequent NodeMapContent recomputation and infinite render loops

* NodeMapSwiftUI: disable animation during SwiftUI transactions

* NodeMapContent: hoist nodeBorderColor and set allowsHitTesting(false) on history point views

* NodeMapContent: prerenderHistoryPointCircle and prerenderHistoryPointArrow to avoid thousands of vector draw operations

* NodeMapContent: Shared coordinate list for Route Lines and Convex Hull

* NodeMapContent.prerenderHistoryPointArrow: add .frame(width: 16, height: 16)
2025-10-30 14:32:27 -07:00
..
AnimatedNodePin.swift 2.7.4 Working Changes (#1415) 2025-10-05 17:51:18 -07:00
MeshMapContent.swift MeshMap performance: quick wins (#1490) 2025-10-30 14:15:18 -07:00
NodeMapContent.swift NodeMap performance improvements for high # positions history (#1480) 2025-10-30 14:32:27 -07:00