From cf0c4dcf3f33220b2adeb4df13af19ce535ad415 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 18 Mar 2016 08:47:53 -0600 Subject: [PATCH] Add methods to base class --- src/ol/render/vectorcontext.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/ol/render/vectorcontext.js b/src/ol/render/vectorcontext.js index 5329ad7630..8bb3e01732 100644 --- a/src/ol/render/vectorcontext.js +++ b/src/ol/render/vectorcontext.js @@ -19,6 +19,22 @@ ol.render.VectorContext = function() { ol.render.VectorContext.prototype.drawAsync = goog.abstractMethod; +/** + * Render a geometry. + * + * @param {ol.geom.Geometry} geometry The geometry to render. + */ +ol.render.VectorContext.prototype.drawGeometry = goog.abstractMethod; + + +/** + * Set the rendering style. + * + * @param {ol.style.Style} style The rendering style. + */ +ol.render.VectorContext.prototype.setStyle = goog.abstractMethod; + + /** * @param {ol.geom.Circle} circleGeometry Circle geometry. * @param {ol.Feature} feature Feature,