[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PyQt4 QWebView cant load google maps markers

I want to create a simple python app using pyqt,QWebView and google maps with markers. 

The problem is that,the markers does not load inside the QWebView, as you can see they load just fine in the browser. 

here the simple code : 

 import sys 
 from PyQt4.QtCore import * 
 from PyQt4.QtGui import * 
 from PyQt4.QtWebKit import * 
 import os 
 app = QApplication(sys.argv) 
 web_view= dialog.findChild(QWebView,"webView") 

error message : 
right click and select Inspect, then go to console and observe the messages console I take this error : 

TypeError: 'undefined' is not a function (evaluating 'this.D.bind(this)') marker.js:58 

Any idea how to can fix that ? 
I need to add more settings to QWebView to work google maps with markers ?