Satisfying linter, jsdoc & compiler
This commit is contained in:
@@ -301,6 +301,49 @@ 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),
|
||||
* layerFilterThis: (Object|undefined),
|
||||
* hitTolerance: (number|undefined)}}
|
||||
*/
|
||||
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}
|
||||
* @api stable
|
||||
*/
|
||||
olx.ForEachFeatureOptions.prototype.layerFilter;
|
||||
|
||||
|
||||
/**
|
||||
* Value to use as `this` when executing `layerFilter`.
|
||||
* @type {Object}
|
||||
* @api stable
|
||||
*/
|
||||
olx.ForEachFeatureOptions.prototype.layerFilterThis;
|
||||
|
||||
|
||||
/**
|
||||
* Value of a radius in whichs area around the given coordinate features are
|
||||
* called.
|
||||
* @type {number}
|
||||
* @api stable
|
||||
*/
|
||||
olx.ForEachFeatureOptions.prototype.hitTolerance;
|
||||
|
||||
|
||||
/**
|
||||
* Object literal with config options for the overlay.
|
||||
|
||||
Reference in New Issue
Block a user