Add ol.ENABLE_VECTOR to control inclusion of vector layer renderers

This commit is contained in:
Tom Payne
2014-01-29 21:11:53 +01:00
parent 7e020e4d26
commit b6af02a762
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -35,6 +35,12 @@ ol.ENABLE_IMAGE = true;
ol.ENABLE_TILE = true;
/**
* @define {boolean} Whether to enable rendering of vector layers.
*/
ol.ENABLE_VECTOR = true;
/**
* @define {boolean} Whether to enable WebGL.
*/