public interface ICreatorObserver
Creator
class, or when creation failed.Modifier and Type | Method and Description |
---|---|
void |
onFeatureCreated(Feature createdFeature,
FeatureLayer featureLayer)
Called when a new feature is created and added to the layer.
|
void |
onFeatureCreationFailed(ErrorInfo errorInfo)
Called when feature creation has failed.
|
void onFeatureCreated(@NotNull Feature createdFeature, @NotNull FeatureLayer featureLayer)
createdFeature
- the newly created featurefeatureLayer
- the layer to which the feature was addedvoid onFeatureCreationFailed(@NotNull ErrorInfo errorInfo)
This can be for various reasons, for example:
errorInfo
- the reason why creation has stopped