Are there any samples that might show how to get the true north vs magnetic north?
Looking at the QML 'Compass' documentation, it looks like the 'currentOrientation' property shows the magnetic north direction. I can't see any methods, properties or services in qml that would calculate true north.
Does anyone have any suggestions on how to work this out within an app?
cheers,
-Paul
Solved! Go to Solution.
Paul,
Unfortunately, AppStudio uses the Compass component from QML, so we are bound with that limitation.
I think the hardware (mobile phones) will give the magnetic north, and the true north would be calculated based on that, perhaps there are 3rd party javascript libraries out there that can help.
Thank you,
Erwin.
Paul,
Unfortunately, AppStudio uses the Compass component from QML, so we are bound with that limitation.
I think the hardware (mobile phones) will give the magnetic north, and the true north would be calculated based on that, perhaps there are 3rd party javascript libraries out there that can help.
Thank you,
Erwin.