Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QWebView and google maps
Forum Updated to NodeBB v4.3 + New Features

QWebView and google maps

Scheduled Pinned Locked Moved Qt WebKit
3 Posts 2 Posters 5.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sinapse
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stevenceuppens
      wrote on last edited by
      #2

      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

      Steven CEUPPENS
      Developer / Architect
      Mobile: +32 479 65 93 10

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sinapse
        wrote on last edited by
        #3

        Hi Steven, really thanks for your answer and your code ;-)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved