diff --git a/externs/olx.js b/externs/olx.js index d8317a98c0..72ea000573 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -309,7 +309,7 @@ olx.MapOptions.prototype.view; * layerFilterThis: (Object|undefined), * hitTolerance: (number|undefined)}} */ -olx.FeatureAtPixelOptions; +olx.AtPixelOptions; /** @@ -320,7 +320,7 @@ olx.FeatureAtPixelOptions; * @type {((function(ol.layer.Layer): boolean)|undefined)} * @api stable */ -olx.FeatureAtPixelOptions.prototype.layerFilter; +olx.AtPixelOptions.prototype.layerFilter; /** @@ -328,7 +328,7 @@ olx.FeatureAtPixelOptions.prototype.layerFilter; * @type {Object|undefined} * @api stable */ -olx.FeatureAtPixelOptions.prototype.layerFilterThis; +olx.AtPixelOptions.prototype.layerFilterThis; /** @@ -338,7 +338,7 @@ olx.FeatureAtPixelOptions.prototype.layerFilterThis; * @type {number|undefined} * @api */ -olx.FeatureAtPixelOptions.prototype.hitTolerance; +olx.AtPixelOptions.prototype.hitTolerance; /** diff --git a/src/ol/map.js b/src/ol/map.js index c915437507..abcfa8335a 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -568,7 +568,7 @@ ol.Map.prototype.disposeInternal = function() { * unmanaged layers. To stop detection, callback functions can return a * truthy value. * @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 * callback execution, or the first truthy callback return value. * @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 * detection can be configured through `opt_layerFilter`. * @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? * @template U * @api