Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. MapPolyline slow repaint problem
Qt 6.11 is out! See what's new in the release blog

MapPolyline slow repaint problem

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 459 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jankes
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved