Accept missing properties in symbolizer constructors

Still need to have some discussion about when to apply defaults.
This commit is contained in:
Tim Schaub
2013-03-04 19:31:11 +01:00
parent fae79dbc0f
commit 978527f880
3 changed files with 13 additions and 13 deletions
+6 -6
View File
@@ -71,12 +71,12 @@ ol.style.ShapeLiteral.prototype.equals = function(shapeLiteral) {
/**
* @typedef {{type: (ol.style.ShapeType),
* size: (number|ol.Expression),
* fillStyle: (string|ol.Expression),
* strokeStyle: (string|ol.Expression),
* strokeWidth: (number|ol.Expression),
* opacity: (number|ol.Expression)}}
* @typedef {{type: (ol.style.ShapeType|undefined),
* size: (number|ol.Expression|undefined),
* fillStyle: (string|ol.Expression|undefined),
* strokeStyle: (string|ol.Expression|undefined),
* strokeWidth: (number|ol.Expression|undefined),
* opacity: (number|ol.Expression|undefined)}}
*/
ol.style.ShapeOptions;