Skip to content

Commit 4bca828

Browse files
committed
Make render methods ol vector layer and image vector source exportable
This addresses openlayers#2684 (comment)
1 parent e3b03be commit 4bca828

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/ol/layer/vectorlayer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ ol.layer.Vector.prototype.getStyleFunction = function() {
101101
/**
102102
* Renders the layer; rendering will effectively occur at the next browser
103103
* animation frame. Call this for style changes to take effect.
104+
* @api
104105
*/
105106
ol.layer.Vector.prototype.render = function() {
106107
this.dispatchChangeEvent();

src/ol/source/imagevectorsource.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ ol.source.ImageVector.prototype.handleSourceChange_ = function() {
257257
/**
258258
* Renders the image; rendering will effectively occur at the next browser
259259
* animation frame. Call this for style changes to take effect.
260+
* @api
260261
*/
261262
ol.source.ImageVector.prototype.render =
262263
function() {

0 commit comments

Comments
 (0)