Posts

Post marked as solved
4 Replies
Hi,Thanks for the answer. The problem, indeed, was with WebGL. When I launched my application from a conda environment, OpenGL was not properly loaded.I downloaded from StackOverflow this code and used it to check the status of WebGL in my MacOS:import os, sys from PyQt5 import QtCore, QtGui, QtWidgets, QtWebEngineWidgets if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) # app.setAttribute(QtCore.Qt.AA_UseOpenGLES) # nothing happens, you can comment it out view = QtWebEngineWidgets.QWebEngineView() view.settings().setAttribute(QtWebEngineWidgets.QWebEngineSettings.WebGLEnabled, True) # does not help too = ((( view.load(QtCore.QUrl("http://webglreport.com/?v=2")) view.show() sys.exit(app.exec_())When I leave the conda environnment, then WebGL 1 works in my application (WegGL 2 is not available). WebGL 1 seems to be enough for my application, now it rotates the map and shows the compass.Thanks a lot
Post marked as solved
4 Replies
There is a typo in the script. "isRotationAvailabe" should be "isRotationEnabled". This error, however, does not change the behavior of the error. Once corrected, I still keep receiving the error message: ""js: [MapKit] Rotation is not available."