Add stability annotation to ol.layer.Vector
This commit is contained in:
@@ -18,6 +18,7 @@ ol.layer.VectorProperty = {
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.layer.Layer}
|
* @extends {ol.layer.Layer}
|
||||||
* @param {olx.layer.VectorOptions=} opt_options Options.
|
* @param {olx.layer.VectorOptions=} opt_options Options.
|
||||||
|
* @todo stability experimental
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector = function(opt_options) {
|
ol.layer.Vector = function(opt_options) {
|
||||||
|
|
||||||
@@ -37,6 +38,7 @@ goog.inherits(ol.layer.Vector, ol.layer.Layer);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.Collection|undefined} Render geometry functions.
|
* @return {ol.Collection|undefined} Render geometry functions.
|
||||||
|
* @todo stability experimental
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector.prototype.getRenderGeometryFunctions = function() {
|
ol.layer.Vector.prototype.getRenderGeometryFunctions = function() {
|
||||||
return /** @type {ol.Collection|undefined} */ (
|
return /** @type {ol.Collection|undefined} */ (
|
||||||
@@ -50,6 +52,7 @@ goog.exportProperty(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.feature.StyleFunction|undefined} Style function.
|
* @return {ol.feature.StyleFunction|undefined} Style function.
|
||||||
|
* @todo stability experimental
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector.prototype.getStyleFunction = function() {
|
ol.layer.Vector.prototype.getStyleFunction = function() {
|
||||||
return /** @type {ol.feature.StyleFunction|undefined} */ (
|
return /** @type {ol.feature.StyleFunction|undefined} */ (
|
||||||
@@ -64,6 +67,7 @@ goog.exportProperty(
|
|||||||
/**
|
/**
|
||||||
* @param {ol.Collection|undefined} renderGeometryFunctions Render geometry
|
* @param {ol.Collection|undefined} renderGeometryFunctions Render geometry
|
||||||
* functions.
|
* functions.
|
||||||
|
* @todo stability experimental
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector.prototype.setRenderGeometryFunctions =
|
ol.layer.Vector.prototype.setRenderGeometryFunctions =
|
||||||
function(renderGeometryFunctions) {
|
function(renderGeometryFunctions) {
|
||||||
@@ -81,6 +85,7 @@ goog.exportProperty(
|
|||||||
* value returned by the style function then `dispatchChangeEvent` should be
|
* value returned by the style function then `dispatchChangeEvent` should be
|
||||||
* called on the layer for the layer to be refreshed on the screen.
|
* called on the layer for the layer to be refreshed on the screen.
|
||||||
* @param {ol.feature.StyleFunction|undefined} styleFunction Style function.
|
* @param {ol.feature.StyleFunction|undefined} styleFunction Style function.
|
||||||
|
* @todo stability experimental
|
||||||
*/
|
*/
|
||||||
ol.layer.Vector.prototype.setStyleFunction = function(styleFunction) {
|
ol.layer.Vector.prototype.setStyleFunction = function(styleFunction) {
|
||||||
this.set(ol.layer.VectorProperty.STYLE_FUNCTION, styleFunction);
|
this.set(ol.layer.VectorProperty.STYLE_FUNCTION, styleFunction);
|
||||||
|
|||||||
Reference in New Issue
Block a user