Mark optional property with square brackets
This commit is contained in:
@@ -68,9 +68,9 @@ import {create as createTransform, apply as applyTransform} from './transform.js
|
||||
* {@link ol.layer.Layer layer-candidate} and it should return a boolean value.
|
||||
* 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.
|
||||
* @property {number|undefined} hitTolerance Hit-detection tolerance in pixels. Pixels
|
||||
* @property {number} [hitTolerance=0] Hit-detection tolerance in pixels. Pixels
|
||||
* inside the radius around the given position will be checked for features. This only
|
||||
* works for the canvas renderer and not for WebGL. Default is `0`.
|
||||
* works for the canvas renderer and not for WebGL.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user