Interface ICreatorObserver


public interface ICreatorObserver
This observer is called when a feature was created and added to the layer by the Creator class, or when creation failed.
  • Method Details Link icon

    • onFeatureCreated Link icon

      void onFeatureCreated(@NotNull Feature createdFeature, @NotNull FeatureLayer featureLayer)
      Called when a new feature is created and added to the layer.
      Parameters:
      createdFeature - the newly created feature
      featureLayer - the layer to which the feature was added
    • onFeatureCreationFailed Link icon

      void onFeatureCreationFailed(@NotNull ErrorInfo errorInfo)
      Called when feature creation has failed.

      This can be for various reasons, for example:

      • A new Feature could not be created from the geometry
      • The new Feature could not be added to the model
      Parameters:
      errorInfo - the reason why creation has stopped