Shape extends point

This commit is contained in:
Tim Schaub
2013-01-21 23:20:52 -07:00
parent 45af404f4b
commit 92c8c9c5df
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ goog.require('ol.style.LiteralSymbolizer');
/** /**
* @interface * @constructor
* @extends {ol.style.LiteralSymbolizer} * @implements {ol.style.LiteralSymbolizer}
*/ */
ol.style.LiteralPoint = function() {}; ol.style.LiteralPoint = function() {};
+2 -1
View File
@@ -26,7 +26,7 @@ ol.style.LiteralShapeConfig;
/** /**
* @constructor * @constructor
* @implements {ol.style.LiteralPoint} * @extends {ol.style.LiteralPoint}
* @param {ol.style.LiteralShapeConfig} config Symbolizer properties. * @param {ol.style.LiteralShapeConfig} config Symbolizer properties.
*/ */
ol.style.LiteralShape = function(config) { ol.style.LiteralShape = function(config) {
@@ -50,3 +50,4 @@ ol.style.LiteralShape = function(config) {
this.opacity = config.opacity; this.opacity = config.opacity;
}; };
goog.inherits(ol.style.LiteralShape, ol.style.LiteralPoint);