Results 1 to 2 of 2

Thread: Qt & Goole Maps

  1. #1
    Join Date
    Apr 2009
    Posts
    206
    Thanks
    34
    Thanked 2 Times in 2 Posts

    Default Qt & Goole Maps

    Hello friends,

    I have one questions about the google maps api interaction with Qt. Now I have an html file with my map. I have also a kml file with many overlays. When I import the kml file in Google Earth I get an tree with the items which represent the overlays and I can click it in or out.

    So now I try to write an App with interaction to the google maps. How can I import the kml file into a say treewidget or Treeview with clickable item and anytime I click an item in my tree the maps show me the overlay. I don´t understand the interaction Qt<->GoogleMaps or
    QWebView<->Js or the interaction with kml etc.

    Any suggestions.

  2. The following user says thank you to codeman for this useful post:

    TheIndependentAquarius (11th July 2012)

  3. #2
    Join Date
    Jun 2009
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt & Goole Maps

    seems like kml follows xml standard. So you can comfortably parse the file using xml modules, prefer to use xml patterns and XSLT

    http://doc.trolltech.com/4.5/qxmlquery.html

    Prepare the view based on the required elements from kml, upon click extract the element and query against kml using xml query (http://doc.trolltech.com/4.5/qxmlquery.html)

    This results in fast and direct element retrieval.

    You can very well use QWebview to render the maps.

  4. The following user says thank you to srikanth_trulyit for this useful post:

    TheIndependentAquarius (11th July 2012)

Similar Threads

  1. need help about calibrating scanned maps.
    By high_flyer in forum General Discussion
    Replies: 4
    Last Post: 26th July 2006, 18:27

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.