Results 1 to 3 of 3

Thread: Fetch GPS coordinates after clicking on the Google map embedded in the Qt widget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2011
    Posts
    231
    Thanks
    141
    Thanked 6 Times in 5 Posts

    Default Fetch GPS coordinates after clicking on the Google map embedded in the Qt widget

    I have already found the ways to embed the Google maps in the Qt widgets.
    Now the next task is to get the GPS coordinates when I click on the map image in the Qt widget.

    I am working in Qt. So, I looked up this: http://doc.qt.nokia.com/qtmobility-1...chmanager.html

    Does QGeoSearchManager api produce the GPS coordinates of the location where the mouse clicked on the widget (containing the map)? I couldn't find, how?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Fetch GPS coordinates after clicking on the Google map embedded in the Qt widget

    No. What you are after is QGraphicsGeoMap class and its screenPositionToCoordinate() method.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    TheIndependentAquarius (14th May 2011)

  4. #3
    Join Date
    Apr 2011
    Posts
    231
    Thanks
    141
    Thanked 6 Times in 5 Posts

    Default Re: Fetch GPS coordinates after clicking on the Google map embedded in the Qt widget

    Very thankful to you, I Googled that up, seems promising, I'll read more on that and write further here in something interesting happens. :hattip:

Similar Threads

  1. Replies: 8
    Last Post: 1st October 2015, 07:23
  2. Replies: 2
    Last Post: 17th October 2010, 12:16
  3. Google Earth Widget Using QtWebKit
    By danielperaza in forum Qt Programming
    Replies: 1
    Last Post: 24th January 2010, 13:49
  4. Replies: 0
    Last Post: 4th February 2009, 14:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.