QWebView and google maps
-
Hi people,
i need to show a google map with fixed coordinates in my desktop application.
I tried to read the documentation and follow this topic:http://labs.qt.nokia.com/2008/07/03/putting-qtwebkit-to-use-with-google-maps/
but the code is missing.
I need to implement the same functionality.Can you give me other references about this because i tried to search on QtCreator site and i didn't find nothing useful.
Thanks in advance.
-
Hi!
Here some code like i do it usually! You can easily extend the javascript file.
I wrote this code myself and its based on Google Map API V3!
use this reference regarding the actual map
http://code.google.com/intl/nl-NL/apis/maps/documentation/javascript/use this reference regarding the geocoding
http://code.google.com/intl/nl-NL/apis/maps/documentation/geocoding/In setup this implementation below, because it separates all parts of the gmap widget. And make is easy and straight forward to add functionality from the google maps api..
I hope its useful!
"Download code here! gmap.zip":https://docs.google.com/open?id=0BxGwRUAdHBqjNzBlOTk4YjktNThlMC00YTA3LTk4OWYtOWM1NDM4Nzg0ZGUw
-
Hi Steven, really thanks for your answer and your code ;-)