Make a map navigable



  • Hi people,
    i have a little problem.

    I Created a QWebView with:

            "QWebView viewCell=new QWebView(this);"
    

    and I loaded an html file that contains the istruction to load a map with the google API:

            "viewCell->load(QUrl("mapCell.html"));"
    

    The map is displayed without any problem. The only weird things is that if I double-click the file mapCell,html, it appears a map navigable. So I can use the "hand cursor" to move on the map. This is not true for the map loaded in the QWebView. The map is not navigable in QtCreator. I can't use the cursor. How can I fix this problem? Is there any options to use in the html file when I'm going to create the map?

    Thanks in advance for the help.

    Luca


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.