Rule is filter and symbolizer, style is collection of rules

This commit is contained in:
Tim Schaub
2013-02-19 21:37:40 -07:00
parent 184e1e782c
commit 360e37146c
3 changed files with 76 additions and 0 deletions
+17
View File
@@ -1,4 +1,7 @@
goog.provide('ol.style.LiteralSymbolizer');
goog.provide('ol.style.Symbolizer');
goog.require('ol.Feature');
@@ -6,3 +9,17 @@ goog.provide('ol.style.LiteralSymbolizer');
* @interface
*/
ol.style.LiteralSymbolizer = function() {};
/**
* @interface
*/
ol.style.Symbolizer = function() {};
/**
* @param {ol.Feature} feature Feature for evaluating expressions.
* @return {ol.style.LiteralSymbolizer} Literal symbolizer.
*/
ol.style.Symbolizer.prototype.createLiteral = function(feature) {};