Create literal with feature or geometry type

This commit is contained in:
Tim Schaub
2013-08-15 08:08:10 -04:00
parent c36ceab2a0
commit d5d0262b4c
13 changed files with 156 additions and 116 deletions
+4 -2
View File
@@ -12,8 +12,10 @@ ol.style.Symbolizer = function() {};
/**
* @param {ol.geom.GeometryType} type Geometry type.
* @param {ol.Feature=} opt_feature Feature for evaluating expressions.
* Create a literal from the symbolizer given a complete feature or a geometry
* type.
* @param {ol.geom.GeometryType|ol.Feature} featureOrType Feature for evaluating
* expressions or a geometry type.
* @return {ol.style.Literal} Literal symbolizer.
*/
ol.style.Symbolizer.prototype.createLiteral = goog.abstractMethod;