Permalink
Browse files

Shape extends point

  • Loading branch information...
1 parent 45af404 commit 92c8c9c5df4abbe5451667bc3b38bf5996f87dad @tschaub tschaub committed Jan 22, 2013
Showing with 4 additions and 3 deletions.
  1. +2 −2 src/ol/style/point.js
  2. +2 −1 src/ol/style/shape.js
View
@@ -5,7 +5,7 @@ goog.require('ol.style.LiteralSymbolizer');
/**
- * @interface
- * @extends {ol.style.LiteralSymbolizer}
+ * @constructor
+ * @implements {ol.style.LiteralSymbolizer}
*/
ol.style.LiteralPoint = function() {};
View
@@ -26,7 +26,7 @@ ol.style.LiteralShapeConfig;
/**
* @constructor
- * @implements {ol.style.LiteralPoint}
+ * @extends {ol.style.LiteralPoint}
* @param {ol.style.LiteralShapeConfig} config Symbolizer properties.
*/
ol.style.LiteralShape = function(config) {
@@ -50,3 +50,4 @@ ol.style.LiteralShape = function(config) {
this.opacity = config.opacity;
};
+goog.inherits(ol.style.LiteralShape, ol.style.LiteralPoint);

0 comments on commit 92c8c9c

Please sign in to comment.