mergeWith

fun mergeWith(otherId: EntityId, idPrefix: String = Random.nextLong().toString())

Merges the selected polygon with the polygon otherId; needs an overlay. New ids are made from idPrefix.