Add @api stable annotations to ol.layer.Vector
This commit is contained in:
+7
-7
@@ -2903,7 +2903,7 @@ olx.layer.VectorOptions.prototype.hue;
|
|||||||
* The bounding extent for layer rendering. The layer will not be rendered
|
* The bounding extent for layer rendering. The layer will not be rendered
|
||||||
* outside of this extent.
|
* outside of this extent.
|
||||||
* @type {ol.Extent|undefined}
|
* @type {ol.Extent|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.VectorOptions.prototype.extent;
|
olx.layer.VectorOptions.prototype.extent;
|
||||||
|
|
||||||
@@ -2911,7 +2911,7 @@ olx.layer.VectorOptions.prototype.extent;
|
|||||||
/**
|
/**
|
||||||
* The minimum resolution (inclusive) at which this layer will be visible.
|
* The minimum resolution (inclusive) at which this layer will be visible.
|
||||||
* @type {number|undefined}
|
* @type {number|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.VectorOptions.prototype.minResolution;
|
olx.layer.VectorOptions.prototype.minResolution;
|
||||||
|
|
||||||
@@ -2919,7 +2919,7 @@ olx.layer.VectorOptions.prototype.minResolution;
|
|||||||
/**
|
/**
|
||||||
* The maximum resolution (exclusive) below which this layer will be visible.
|
* The maximum resolution (exclusive) below which this layer will be visible.
|
||||||
* @type {number|undefined}
|
* @type {number|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.VectorOptions.prototype.maxResolution;
|
olx.layer.VectorOptions.prototype.maxResolution;
|
||||||
|
|
||||||
@@ -2927,7 +2927,7 @@ olx.layer.VectorOptions.prototype.maxResolution;
|
|||||||
/**
|
/**
|
||||||
* Opacity. 0-1. Default is `1`.
|
* Opacity. 0-1. Default is `1`.
|
||||||
* @type {number|undefined}
|
* @type {number|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.VectorOptions.prototype.opacity;
|
olx.layer.VectorOptions.prototype.opacity;
|
||||||
|
|
||||||
@@ -2943,7 +2943,7 @@ olx.layer.VectorOptions.prototype.saturation;
|
|||||||
/**
|
/**
|
||||||
* Source.
|
* Source.
|
||||||
* @type {ol.source.Vector}
|
* @type {ol.source.Vector}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.VectorOptions.prototype.source;
|
olx.layer.VectorOptions.prototype.source;
|
||||||
|
|
||||||
@@ -2952,7 +2952,7 @@ olx.layer.VectorOptions.prototype.source;
|
|||||||
* Layer style. See {@link ol.style} for default style which will be used if
|
* Layer style. See {@link ol.style} for default style which will be used if
|
||||||
* this is not defined.
|
* this is not defined.
|
||||||
* @type {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined}
|
* @type {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.VectorOptions.prototype.style;
|
olx.layer.VectorOptions.prototype.style;
|
||||||
|
|
||||||
@@ -2960,7 +2960,7 @@ olx.layer.VectorOptions.prototype.style;
|
|||||||
/**
|
/**
|
||||||
* Visibility. Default is `true` (visible).
|
* Visibility. Default is `true` (visible).
|
||||||
* @type {boolean|undefined}
|
* @type {boolean|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.VectorOptions.prototype.visible;
|
olx.layer.VectorOptions.prototype.visible;
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ ol.layer.VectorProperty = {
|
|||||||
* @extends {ol.layer.Layer}
|
* @extends {ol.layer.Layer}
|
||||||
* @fires ol.render.Event
|
* @fires ol.render.Event
|
||||||
* @param {olx.layer.VectorOptions=} opt_options Options.
|
* @param {olx.layer.VectorOptions=} opt_options Options.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector = function(opt_options) {
|
ol.layer.Vector = function(opt_options) {
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ ol.layer.Vector.prototype.getRenderOrder = function() {
|
|||||||
* option at construction or to the `setStyle` method.
|
* option at construction or to the `setStyle` method.
|
||||||
* @return {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction}
|
* @return {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction}
|
||||||
* Layer style.
|
* Layer style.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector.prototype.getStyle = function() {
|
ol.layer.Vector.prototype.getStyle = function() {
|
||||||
return this.style_;
|
return this.style_;
|
||||||
@@ -83,7 +83,7 @@ ol.layer.Vector.prototype.getStyle = function() {
|
|||||||
/**
|
/**
|
||||||
* Get the style function.
|
* Get the style function.
|
||||||
* @return {ol.style.StyleFunction|undefined} Layer style function.
|
* @return {ol.style.StyleFunction|undefined} Layer style function.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector.prototype.getStyleFunction = function() {
|
ol.layer.Vector.prototype.getStyleFunction = function() {
|
||||||
return this.styleFunction_;
|
return this.styleFunction_;
|
||||||
@@ -105,7 +105,7 @@ ol.layer.Vector.prototype.setRenderOrder = function(renderOrder) {
|
|||||||
* an array of styles.
|
* an array of styles.
|
||||||
* @param {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction} style
|
* @param {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction} style
|
||||||
* Layer style.
|
* Layer style.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector.prototype.setStyle = function(style) {
|
ol.layer.Vector.prototype.setStyle = function(style) {
|
||||||
this.style_ = style;
|
this.style_ = style;
|
||||||
|
|||||||
Reference in New Issue
Block a user