How to integrate Google Maps?
-
@joshmarshall95 just like any other QtLocation geocode API
@vladstelmahovsky
hi,
thank you very much indeed ...
how to set traffic layer in the map? -
@vladstelmahovsky
hi,
thank you very much indeed ...
how to set traffic layer in the map?@bahman309 I suppose as MapPolyline's if you have geo coordinates of traffic
-
@bahman309 I suppose as MapPolyline's if you have geo coordinates of traffic
@vladstelmahovsky
I want to use google traffic service -
@vladstelmahovsky
I want to use google traffic service@bahman309 I'm not aware about the service, sorry
-
@bahman309 I'm not aware about the service, sorry
@vladstelmahovsky
thank you... -
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