Unsolved MapPolyline slow repaint problem
-
Hi. I'm creating navigation app. I'm drawing route that was already traveled with one color and route to travel with another one. I have problem that while navigation marker is moving fluently route is drawing with some delay. I'm updating polyline point on my navigation marker coordinate change:
Connections { enabled: navigation.running target: naviArrowItem onCoordinateChanged: { routeBefore.replaceCoordinate(routeBefore.pathLength()-1,target.coordinate) routeToGo.replaceCoordinate(0,target.coordinate) RideSimulationModel.updateCoordinate(target.coordinate) } }
When replacing polyline with MapCircle there is no problem with latency (circle coordinate change is instant).
Maybe somebody know how to deal with this issue?