planetfederal / qgis-webappbuilder-plugin

GNU General Public License v3.0
18 stars 20 forks source link

Raster missing from Chrome, blank webapp on IE 11, ok on FF #399

Closed gioman closed 7 years ago

gioman commented 7 years ago

Among the manual tests in the tester plugin there is one about adding a raster with nodata, and the test warns that the nodata will look transparent only on FF, and this works as expected.

Less expected is that the same webapp in Chrome does not show the raster at all, and even problematic that on IE11 the webapp is a no show and I have seen the browser even crash (windows 7).

8ff0d7ceb9e54e3d91b584acdfe9a41a.zip

bartvde commented 7 years ago

in Chrome I see: Uncaught DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

so likely doesn't work in file urls

bartvde commented 7 years ago

yeah confirmed it works in Chrome on http:// will look at IE now

bartvde commented 7 years ago

works fine in my IE 11 (win 8.1) VM over http

selection_281

gioman commented 7 years ago

closed in favor of https://github.com/boundlessgeo/qgis-webappbuilder-plugin/issues/402