How to make the map object rotates like a navigation system do ?
Unsolved
General and Desktop
-
Is there a way to rotate the content of a QML Map? I tried to use:
PositionSource {
id: osmPositionSourceonPositionChanged: { 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.