A mode for interacting with the map.
Object with the following properties:
Set the text of the button for the dialog the message is displayed on.
Gets or sets the details of a custom user interface for this map interaction mode. This property is not used by
MapInteractionMode itself, so it can be anything that is suitable for the user interface. In the standard
React-based user interface included with TerriaJS, this property is a function that is called with no parameters
and is expected to return a React component.
Determines whether a rectangle will be requested from the user rather than a set of pickedFeatures.
Gets or sets a callback that is invoked when the user cancels the interaction mode. If this property is undefined, the interaction mode cannot be canceled.
Gets or sets the features that are currently picked.
Gets or sets the html formatted message displayed on the map when in this mode.