Results 1 to 4 of 4

Thread: Display OSM or Google Maps Qt 5.5

  1. #1
    Join Date
    Mar 2016
    Posts
    8
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Display OSM or Google Maps Qt 5.5

    Hey,

    I'm trying to achieve following thing - given latitude and longitude display map (OSM or Google map) with a pointer (pin, circle...) on given longitude and latitude.

    I've googled a lot and I found a lot of stuff where people used custom HTML/JS and load it in QWebView.
    So before I go on with this (dirty dirty) approach I want to try my luck here - does anyone know some "cleaner" approach to this problem?

    Cheers!

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,476
    Thanks
    252
    Thanked 708 Times in 698 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Display OSM or Google Maps Qt 5.5

    Funny the things simple Google queries like "Display map in Qt" will tell you.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Mar 2016
    Posts
    8
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Display OSM or Google Maps Qt 5.5

    Oh sorry, I forgot to mention that I would need it to be C++ "oriented". So no QML...

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,476
    Thanks
    252
    Thanked 708 Times in 698 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Display OSM or Google Maps Qt 5.5

    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. google maps
    By Liphoto in forum Qt Programming
    Replies: 0
    Last Post: 7th May 2013, 13:09
  2. QWebView, Google maps
    By Viper666 in forum Qt Programming
    Replies: 15
    Last Post: 20th October 2012, 13:45
  3. how the Google maps get direction
    By MKSPulok in forum General Discussion
    Replies: 1
    Last Post: 16th June 2012, 21:52
  4. Google Maps API and QWebKit
    By QFreeCamellia in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2012, 05:42
  5. Map is not displayed from maps.google.com
    By abhilashajha in forum Qt Programming
    Replies: 2
    Last Post: 11th June 2009, 14:19

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.