Clarification and use callbacks in examples

This commit is contained in:
Simon Seyock
2021-01-05 09:40:20 +01:00
parent 90c25012b9
commit 125d0d62a8
4 changed files with 10 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ export class VectorSourceEvent extends Event {
* @property {import("../featureloader.js").FeatureLoader} [loader]
* The loader function used to load features, from a remote source for example.
* If this is not set and `url` is set, the source will create and use an XHR
* feature loader. The `'featuresloadstart'`, `'featuresloadend'` and `'featuresloaderror'` events
* feature loader. The `'featuresloadend'` and `'featuresloaderror'` events
* will only fire if the `success` and `failure` callbacks are used.
*
* Example: