Renamed FeatureAtPixelOptions to AtPixelOptions for future use in forEachLayerAtPixel

This commit is contained in:
simonseyock
2016-10-28 13:21:28 +02:00
committed by simonseyock
parent f0439685ad
commit 5608e7284b
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -309,7 +309,7 @@ olx.MapOptions.prototype.view;
* layerFilterThis: (Object|undefined), * layerFilterThis: (Object|undefined),
* hitTolerance: (number|undefined)}} * hitTolerance: (number|undefined)}}
*/ */
olx.FeatureAtPixelOptions; olx.AtPixelOptions;
/** /**
@@ -320,7 +320,7 @@ olx.FeatureAtPixelOptions;
* @type {((function(ol.layer.Layer): boolean)|undefined)} * @type {((function(ol.layer.Layer): boolean)|undefined)}
* @api stable * @api stable
*/ */
olx.FeatureAtPixelOptions.prototype.layerFilter; olx.AtPixelOptions.prototype.layerFilter;
/** /**
@@ -328,7 +328,7 @@ olx.FeatureAtPixelOptions.prototype.layerFilter;
* @type {Object|undefined} * @type {Object|undefined}
* @api stable * @api stable
*/ */
olx.FeatureAtPixelOptions.prototype.layerFilterThis; olx.AtPixelOptions.prototype.layerFilterThis;
/** /**
@@ -338,7 +338,7 @@ olx.FeatureAtPixelOptions.prototype.layerFilterThis;
* @type {number|undefined} * @type {number|undefined}
* @api * @api
*/ */
olx.FeatureAtPixelOptions.prototype.hitTolerance; olx.AtPixelOptions.prototype.hitTolerance;
/** /**
+2 -2
View File
@@ -568,7 +568,7 @@ ol.Map.prototype.disposeInternal = function() {
* unmanaged layers. To stop detection, callback functions can return a * unmanaged layers. To stop detection, callback functions can return a
* truthy value. * truthy value.
* @param {S=} opt_this Value to use as this when executing callback. * @param {S=} opt_this Value to use as this when executing callback.
* @param {olx.FeatureAtPixelOptions=} opt_options Optional options. * @param {olx.AtPixelOptions=} opt_options Optional options.
* @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.
* @template S,T * @template S,T
@@ -632,7 +632,7 @@ ol.Map.prototype.forEachLayerAtPixel = function(pixel, callback, opt_this, opt_l
* 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`. * detection can be configured through `opt_layerFilter`.
* @param {ol.Pixel} pixel Pixel. * @param {ol.Pixel} pixel Pixel.
* @param {olx.FeatureAtPixelOptions=} opt_options Optional options. * @param {olx.AtPixelOptions=} opt_options Optional options.
* @return {boolean} Is there a feature at the given pixel? * @return {boolean} Is there a feature at the given pixel?
* @template U * @template U
* @api * @api