Remove docs referring to removed feature overlay
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ goog.require('ol.style.Style');
|
|||||||
* GeoJSON.
|
* GeoJSON.
|
||||||
*
|
*
|
||||||
* Features can be styled individually with `setStyle`; otherwise they use the
|
* Features can be styled individually with `setStyle`; otherwise they use the
|
||||||
* style of their vector layer or feature overlay.
|
* style of their vector layer.
|
||||||
*
|
*
|
||||||
* Note that attribute properties are set as {@link ol.Object} properties on
|
* Note that attribute properties are set as {@link ol.Object} properties on
|
||||||
* the feature object, so they are observable, and have get/set accessors.
|
* the feature object, so they are observable, and have get/set accessors.
|
||||||
|
|||||||
+6
-9
@@ -572,8 +572,7 @@ ol.Map.prototype.disposeInternal = function() {
|
|||||||
/**
|
/**
|
||||||
* Detect features that intersect a pixel on the viewport, and execute a
|
* Detect features that intersect a pixel on the viewport, and execute a
|
||||||
* callback with each intersecting feature. Layers included in the detection can
|
* callback with each intersecting feature. Layers included in the detection can
|
||||||
* be configured through `opt_layerFilter`. Feature overlays will always be
|
* be configured through `opt_layerFilter`.
|
||||||
* included in the detection.
|
|
||||||
* @param {ol.Pixel} pixel Pixel.
|
* @param {ol.Pixel} pixel Pixel.
|
||||||
* @param {function(this: S, ol.Feature, ol.layer.Layer): T} callback Feature
|
* @param {function(this: S, ol.Feature, ol.layer.Layer): T} callback Feature
|
||||||
* callback. The callback will be called with two arguments. The first
|
* callback. The callback will be called with two arguments. The first
|
||||||
@@ -586,7 +585,7 @@ ol.Map.prototype.disposeInternal = function() {
|
|||||||
* {@link ol.layer.Layer layer-candidate} and it should return a boolean
|
* {@link ol.layer.Layer layer-candidate} and it should return a boolean
|
||||||
* value. Only layers which are visible and for which this function returns
|
* value. Only layers which are visible and for which this function returns
|
||||||
* `true` will be tested for features. By default, all visible layers will
|
* `true` will be tested for features. By default, all visible layers will
|
||||||
* be tested. Feature overlays will always be tested.
|
* be tested.
|
||||||
* @param {U=} opt_this2 Value to use as `this` when executing `layerFilter`.
|
* @param {U=} opt_this2 Value to use as `this` when executing `layerFilter`.
|
||||||
* @return {T|undefined} Callback result, i.e. the return value of last
|
* @return {T|undefined} Callback result, i.e. the return value of last
|
||||||
* callback execution, or the first truthy callback return value.
|
* callback execution, or the first truthy callback return value.
|
||||||
@@ -612,8 +611,7 @@ ol.Map.prototype.forEachFeatureAtPixel =
|
|||||||
/**
|
/**
|
||||||
* Detect layers that have a color value at a pixel on the viewport, and
|
* Detect layers that have a color value at a pixel on the viewport, and
|
||||||
* execute a callback with each matching layer. Layers included in the
|
* execute a callback with each matching layer. Layers included in the
|
||||||
* detection can be configured through `opt_layerFilter`. Feature overlays will
|
* detection can be configured through `opt_layerFilter`.
|
||||||
* always be included in the detection.
|
|
||||||
* @param {ol.Pixel} pixel Pixel.
|
* @param {ol.Pixel} pixel Pixel.
|
||||||
* @param {function(this: S, ol.layer.Layer): T} callback Layer
|
* @param {function(this: S, ol.layer.Layer): T} callback Layer
|
||||||
* callback. Will receive one argument, the {@link ol.layer.Layer layer}
|
* callback. Will receive one argument, the {@link ol.layer.Layer layer}
|
||||||
@@ -625,7 +623,7 @@ ol.Map.prototype.forEachFeatureAtPixel =
|
|||||||
* {@link ol.layer.Layer layer-candidate} and it should return a boolean
|
* {@link ol.layer.Layer layer-candidate} and it should return a boolean
|
||||||
* value. Only layers which are visible and for which this function returns
|
* value. Only layers which are visible and for which this function returns
|
||||||
* `true` will be tested for features. By default, all visible layers will
|
* `true` will be tested for features. By default, all visible layers will
|
||||||
* be tested. Feature overlays will always be tested.
|
* be tested.
|
||||||
* @param {U=} opt_this2 Value to use as `this` when executing `layerFilter`.
|
* @param {U=} opt_this2 Value to use as `this` when executing `layerFilter`.
|
||||||
* @return {T|undefined} Callback result, i.e. the return value of last
|
* @return {T|undefined} Callback result, i.e. the return value of last
|
||||||
* callback execution, or the first truthy callback return value.
|
* callback execution, or the first truthy callback return value.
|
||||||
@@ -649,15 +647,14 @@ ol.Map.prototype.forEachLayerAtPixel =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Detect if features intersect a pixel on the viewport. Layers included in the
|
* Detect if features intersect a pixel on the viewport. Layers included in the
|
||||||
* detection can be configured through `opt_layerFilter`. Feature overlays will
|
* detection can be configured through `opt_layerFilter`.
|
||||||
* always be included in the detection.
|
|
||||||
* @param {ol.Pixel} pixel Pixel.
|
* @param {ol.Pixel} pixel Pixel.
|
||||||
* @param {(function(this: U, ol.layer.Layer): boolean)=} opt_layerFilter Layer
|
* @param {(function(this: U, ol.layer.Layer): boolean)=} opt_layerFilter Layer
|
||||||
* filter function. The filter function will receive one argument, the
|
* filter function. The filter function will receive one argument, the
|
||||||
* {@link ol.layer.Layer layer-candidate} and it should return a boolean
|
* {@link ol.layer.Layer layer-candidate} and it should return a boolean
|
||||||
* value. Only layers which are visible and for which this function returns
|
* value. Only layers which are visible and for which this function returns
|
||||||
* `true` will be tested for features. By default, all visible layers will
|
* `true` will be tested for features. By default, all visible layers will
|
||||||
* be tested. Feature overlays will always be tested.
|
* be tested.
|
||||||
* @param {U=} opt_this Value to use as `this` when executing `layerFilter`.
|
* @param {U=} opt_this Value to use as `this` when executing `layerFilter`.
|
||||||
* @return {boolean} Is there a feature at the given pixel?
|
* @return {boolean} Is there a feature at the given pixel?
|
||||||
* @template U
|
* @template U
|
||||||
|
|||||||
Reference in New Issue
Block a user