Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to make the map object rotates like a navigation system do ?
Forum Updated to NodeBB v4.3 + New Features

How to make the map object rotates like a navigation system do ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qmlmaprotationpositionsource
1 Posts 1 Posters 713 Views 1 Watching
  • 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.
  • L Offline
    L Offline
    Lulu31
    wrote on 2 May 2016, 13:59 last edited by
    #1

    Is there a way to rotate the content of a QML Map? I tried to use:

    PositionSource {
    id: osmPositionSource

    onPositionChanged: {
        if(position.directionValid === true) {
            osmMap.rotation = position.direction
        }
    }
    

    }

    Map {
    id: osmMap
    // [...]
    }
    In this case the whole Map object rotates like a Rectangle. However, I only want to rotate the map tiles like a navigation system do.

    1 Reply Last reply
    0

    1/1

    2 May 2016, 13:59

    • Login

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