diff --git a/externs/olx.js b/externs/olx.js index 08cd8d98be..aa877b0f37 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -2591,7 +2591,8 @@ olx.interaction.ModifyOptions.prototype.pixelTolerance; /** - * FeatureOverlay style. + * Style used for the features being modified. By default the default edit + * style is used (see {@link ol.style}). * @type {ol.style.Style|Array.|ol.style.StyleFunction|undefined} * @api */ @@ -2781,7 +2782,8 @@ olx.interaction.SelectOptions.prototype.layers; /** - * Style for the selected features (those in the FeatureOverlay). + * Style for the selected features. By default the default edit style is used + * (see {@link ol.style}). * @type {ol.style.Style|Array.|ol.style.StyleFunction|undefined} * @api */ @@ -3712,39 +3714,6 @@ olx.layer.VectorOptions.prototype.updateWhileInteracting; olx.layer.VectorOptions.prototype.visible; -/** - * @typedef {{features: (Array.|ol.Collection.|undefined), - * map: (ol.Map|undefined), - * style: (ol.style.Style|Array.|ol.style.StyleFunction|undefined)}} - * @api - */ -olx.FeatureOverlayOptions; - - -/** - * Features. - * @type {Array.|ol.Collection.|undefined} - * @api - */ -olx.FeatureOverlayOptions.prototype.features; - - -/** - * Map. - * @type {ol.Map|undefined} - * @api - */ -olx.FeatureOverlayOptions.prototype.map; - - -/** - * Feature style. - * @type {ol.style.Style|Array.|ol.style.StyleFunction|undefined} - * @api - */ -olx.FeatureOverlayOptions.prototype.style; - - /** * Namespace. * @type {Object} diff --git a/src/ol/style/style.js b/src/ol/style/style.js index b59ac25282..da9d60ea6b 100644 --- a/src/ol/style/style.js +++ b/src/ol/style/style.js @@ -18,7 +18,7 @@ goog.require('ol.style.Stroke'); * @classdesc * Container for vector feature rendering styles. Any changes made to the style * or its children through `set*()` methods will not take effect until the - * feature, layer or FeatureOverlay that uses the style is re-rendered. + * feature or layer that uses the style is re-rendered. * * @constructor * @param {olx.style.StyleOptions=} opt_options Style options.