How could I rotate the Map of Qt5.9 beta?
-
@aktay Sure
Map{ tilt: 45 //tilt 45 degree bearing: 45 //rotate 45 degree }
It is so easy. QtLocation module works well for online routing, but to create a serious navigation app, we need ability of offline routing(unless you are ok with osm), without it, transaction/services will be used up in no time. Esri runtime SDK provide offline routing and other interesting functions, but
1 : the extra api provided by that sdk do not conform to Qt api, which means your apps will be binded by esri
2 : their services are quite expensive -
Thank you for your answer. But I am getting the error. Do you have any idea why?
Map{ id: map anchors.fill: parent plugin:mapPlugin center: QtPositioning.coordinate(latitude, longitude) zoomLevel: 18 copyrightsVisible: false tilt: 45 //tilt 45 degree bearing: 45 //rotate 45 degree ....
The Error:
Cannot assign to non-existent property "tilt" Cannot assign to non-existent property "bearing"
I also started to work with esri. I guess I should not use the ESRI according to what you say. What should we do for a navigation-like application? What is your suggestion?
Thanks.
-
@aktay said in How could I rotate the Map of Qt5.9 beta?:
Thank you for your answer. But I am getting the error. Do you have any idea why?
You need Qt5.9 beta for these features
I also started to work with esri. I guess I should not use the ESRI according to what you say. What should we do for a navigation-like application? What is your suggestion?
It depends on how much budgets you got. I would pick esri if the customers have limited budgets, try my best not to use/encapsulate the api of esri sdk, this way in the future I could replace esri api by "standard Qt"(5.10?5.11?God knows)
If the customers willing to pay the fees to develop custom plugin, I would start from study the plugin source codes of Qt and try to add offline routing function(an engineer of Google spend half a year to implement offline routing features on ios).