How to integrate Google Maps?
-
anybody can to used google map api in QML
and used navigation and traffic from google map api ?@bahman309 there is no traffic data API in QtLocation yet. and Navigation is in progress, afaik
-
@carles-sole-grau , When you done clone & build plugin, you should create folder 'geoservices' in same folder of file execute, then copy plugin into this 'geoservices' folder
You can see struct plugins in folder ( that why we have name 'geoservices') where you install Qt ex: '~/Qt5.8.0/5.8/gcc_64/plugins/ (I using Ubuntu & Qt5.8)
on QML you do like this:
Plugin {
id: mapPlugin
name: "googlemaps"
}for tutorial how plugin, refer to example : http://doc.qt.io/qt-5/qtwidgets-tools-styleplugin-example.html
for detail refer to doc: http://doc.qt.io/qt-5/plugins-howto.html