removeGroup
Returns a new Feature removed from its current group.
Sets the feature's group field to null. If the feature was not in a group, this operation has no effect (other than returning a new equal instance). This maintains immutability by returning a new instance.
Example:
val unassignedFeature = feature.removeGroup()Content copied to clipboard
Return
a new Feature with no group assignment