Optionaloptions: StaticFeaturesSourceOptionsProtected_Protected_ReadonlyisReadonlytypeReturns a copy of the features contained in this source.
Note: this property returns an empty array if the source is not yet initialized.
Adds a single feature.
Note: if you want to add multiple features at once, use addFeatures for better performance.
Adds multiple features.
Removes all features.
Gets the features matching the request.
The feature request.
Initializes the source. The source is not useable before being initialized.
Removes a single feature.
Note: if you want to remove multiple features at once, use removeFeatures for better performance.
true if the feature feature was actually removed, false otherwise.
Removes multiple features.
true if at least one feature was actually removed, false otherwise.
ProtectedthrowRaises an event to reload the source.
A feature source that does not read from any remote source, but instead acts as a container for features added by the user.
When features are added to this source, they might be transformed to match the target coordinate system, as well as assigning them unique IDs.