AbstractIndicates whether the feature provider should only return the first feature.
StaticclassAbstractgetThis method must be overwritten by any implementations. Before returning the array of features, be sure to use the getProviderFeature
on each feature to ensure all properties and symbols required by the VCM architecture
to handle your feature is called: (e.g. return features.map(f => this.getProviderFeature(f));
in mercator
meters per pixel for the given location
the layer to request the features for
Ensures the feature has an ID, applies all vectorProperties and adds style and the vcsLayerName and isProvidedFeature symbols to the feature
Returns the object required to configure this feature provider.
StaticgetProtected_Indicates whether the feature provider should only return the first feature. Defaults to false, but is set to true in MapboxFeatureProvider. @link{FeatureProviderInteraction} can be configured to respect this property and only return the first feature when both the interaction and the provider have it set to true.
Optional[moduleMap ClassNames Can be used to only apply this featureProvider to the specified maps
Readonlynameunique Name
The style set on features created by this provider
The vector properties assigned to features created by this provider
An abstract class providing features for Layers which cannot provide features directly, but can provide features for a given location, e.g. WmsLayer with a getFeatureInfo configuration. In this case, a feature provider can be created for this layer.