Add @api stable annotations to ol.layer.Vector

This commit is contained in:
Éric Lemoine
2014-08-18 17:27:04 +02:00
parent 1085d4f152
commit 3ced2d8266
2 changed files with 11 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ ol.layer.VectorProperty = {
* @extends {ol.layer.Layer}
* @fires ol.render.Event
* @param {olx.layer.VectorOptions=} opt_options Options.
* @api
* @api stable
*/
ol.layer.Vector = function(opt_options) {
@@ -73,7 +73,7 @@ ol.layer.Vector.prototype.getRenderOrder = function() {
* option at construction or to the `setStyle` method.
* @return {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction}
* Layer style.
* @api
* @api stable
*/
ol.layer.Vector.prototype.getStyle = function() {
return this.style_;
@@ -83,7 +83,7 @@ ol.layer.Vector.prototype.getStyle = function() {
/**
* Get the style function.
* @return {ol.style.StyleFunction|undefined} Layer style function.
* @api
* @api stable
*/
ol.layer.Vector.prototype.getStyleFunction = function() {
return this.styleFunction_;
@@ -105,7 +105,7 @@ ol.layer.Vector.prototype.setRenderOrder = function(renderOrder) {
* an array of styles.
* @param {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction} style
* Layer style.
* @api
* @api stable
*/
ol.layer.Vector.prototype.setStyle = function(style) {
this.style_ = style;