From 63f57768a3e73e71af024b9243c3c9836a0daf6e Mon Sep 17 00:00:00 2001 From: simonseyock Date: Thu, 20 Oct 2016 13:46:40 +0200 Subject: [PATCH] Removed olx.LayerFilter --- externs/olx.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index fede544830..98efe2b854 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -301,17 +301,10 @@ olx.MapOptions.prototype.target; */ olx.MapOptions.prototype.view; -/** - * The filter function will receive one argument, the - * {@link ol.layer.Layer layer-candidate} and it should return a boolean - * value. - * @typedef {(function(ol.layer.Layer): boolean)} - */ -olx.LayerFilterFunction; /** * Object literal with options for the forEachFeatureAtCoordinate methods. - * @typedef {{layerFilter: (olx.LayerFilterFunction|undefined), + * @typedef {{layerFilter: ((function(ol.layer.Layer): boolean)|undefined), * layerFilterThis: (Object|undefined), * hitTolerance: (number|undefined)}} */ @@ -322,7 +315,7 @@ olx.ForEachFeatureOptions; * Layer filter function. Only layers which are visible and for which this function returns * `true` will be tested for features. By default, all visible layers will * be tested. - * @type {olx.LayerFilterFunction|undefined} + * @type {((function(ol.layer.Layer): boolean)|undefined)} * @api stable */ olx.ForEachFeatureOptions.prototype.layerFilter;