melowntech / vts-browser-js

JavaScript WebGL 3D map rendering engine
BSD 2-Clause "Simplified" License
218 stars 42 forks source link

Uncaught TypeError: this.ui.setControlDisplayState is not a function #123

Closed johntrigub closed 5 years ago

johntrigub commented 5 years ago

On some Chrome browsers there is such an error and the map does not start:

vts-browser.min.js:5 Uncaught TypeError: this.ui.setControlDisplayState is not a function at new b (vts-browser.min.js:5) at new l (vts-browser.min.js:5) at Object.r (vts-browser.min.js:5) at startDemo (sample-app-rest.js:14) at sample-app-rest.js:27

davidmtech commented 5 years ago

Thanks for the report. Good news is that this error will be fixed in next version of the library. Bad news is that this error can occur only when WebGL in not supported.