From 92c8c9c5df4abbe5451667bc3b38bf5996f87dad Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 21 Jan 2013 23:20:52 -0700 Subject: [PATCH] Shape extends point --- src/ol/style/point.js | 4 ++-- src/ol/style/shape.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ol/style/point.js b/src/ol/style/point.js index e937a188a5..acbed220c4 100644 --- a/src/ol/style/point.js +++ b/src/ol/style/point.js @@ -5,7 +5,7 @@ goog.require('ol.style.LiteralSymbolizer'); /** - * @interface - * @extends {ol.style.LiteralSymbolizer} + * @constructor + * @implements {ol.style.LiteralSymbolizer} */ ol.style.LiteralPoint = function() {}; diff --git a/src/ol/style/shape.js b/src/ol/style/shape.js index a64e46b437..e188d8c354 100644 --- a/src/ol/style/shape.js +++ b/src/ol/style/shape.js @@ -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);