Set the default of WEBGL_MAX_TEXTURE_SIZE to undefined

By doing so the examples will also work if WebGL is not supported.
This commit is contained in:
tsauerwein
2014-11-20 15:07:13 +01:00
parent 40c33a21eb
commit 8fcde092c7
2 changed files with 6 additions and 4 deletions

View File

@@ -15,7 +15,8 @@ var atlasManager = new ol.style.AtlasManager({
// we increase the default size so that all symbols fit into
// a single atlas image
size: 512,
maxSize: ol.has.WEBGL_MAX_TEXTURE_SIZE});
maxSize: ol.has.WEBGL_MAX_TEXTURE_SIZE
});
var symbolInfo = [{
opacity: 1.0,