Symbolizer and SymbolizerLiteral as base class, not interface

This commit is contained in:
ahocevar
2013-03-02 14:08:52 +01:00
parent da7820121f
commit fcd5804d2d
4 changed files with 25 additions and 11 deletions
+3 -3
View File
@@ -6,14 +6,14 @@ goog.require('ol.Feature');
/**
* @interface
* @constructor
*/
ol.style.SymbolizerLiteral = function() {};
/**
* @interface
* @constructor
*/
ol.style.Symbolizer = function() {};
@@ -22,4 +22,4 @@ ol.style.Symbolizer = function() {};
* @param {ol.Feature} feature Feature for evaluating expressions.
* @return {ol.style.SymbolizerLiteral} Literal symbolizer.
*/
ol.style.Symbolizer.prototype.createLiteral = function(feature) {};
ol.style.Symbolizer.prototype.createLiteral = goog.abstractMethod;