Specify crossOrigin in reprojection examples to fix WebGL errors
This commit is contained in:
@@ -23,6 +23,7 @@ var map = new ol.Map({
|
||||
source: new ol.source.ImageStatic({
|
||||
url: 'http://upload.wikimedia.org/wikipedia/commons/thumb/1/18/' +
|
||||
'British_National_Grid.svg/2000px-British_National_Grid.svg.png',
|
||||
crossOrigin: '',
|
||||
projection: 'EPSG:27700',
|
||||
imageExtent: imageExtent
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user