The reference of the shapes produced by the provideShape method.
When a ShapeProvider is added to a FeatureLayer and the layer is then attached to a map,
LuciadRIA determines whether the shapes can be visualized by matching
the shape provider’s reference to the map’s reference.
This property is optional. If not set, the FeatureLayer assumes that all shapes
use the same reference as the associated FeatureModel.
Invalidates the shape of a specific feature.
Call this method when any state affecting the mapping between a feature and its shape has changed. Doing so ensures that the feature will be repainted with an updated shape during the next map render.
The feature whose shape should be re-evaluated.
Invalidates the shapes of all features.
Calling this method ensures that all features will be repainted with updated shapes during the next map render.
Invalidates the shape of a specific feature by its ID.
Call this method when any state affecting the mapping between a feature and its shape has changed. Doing so ensures that the feature will be repainted with an updated shape during the next map render.
Registers a callback function for the "InvalidateAll" event, that notifies a listener that the all features are invalidated.
Always set to "InvalidateAll" for this event type.
The callback function to be executed when the event is emitted
Optionalcontext: anyThe context in which the function should be invoked.
"InvalidateAll"
Registers a callback function for the "Invalidate" event, that notifies a listener that a given feature is invalidated.
Always set to "Invalidate" for this event type.
The callback function to be executed when the event is emitted
Optionalcontext: anyThe context in which the function should be invoked.
"Invalidate"
Registers a callback function for the "InvalidateById" event, that notifies a listener that a feature with the given id is invalidated.
Always set to "InvalidateById" for this event type.
The callback function to be executed when the event is emitted
Optionalcontext: anyThe context in which the function should be invoked.
"InvalidateById"
A
ShapeProvidermaps features from a single model to different geometric representations. It is used by a FeatureLayer.A common use case is visualizing the same model on both a geographic map and a Cartesian map.
For example, a
ShapeProvidercan display trajectories on a geodetic map in one layer, and the same trajectories on a vertical view map in another layer.Example of a
ShapeProviderthat provides shapes asynchronously: