GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Takes off its layer an entity whose capture was abandoned and that the server does not hold.

      A creation that never landed, or an entity the server deleted: once the queue entry is destroyed and the record removed, nothing will ever push it nor pull it back. Left on the layer it stayed drawn — badge included — until the next page load. An abandoned EDIT of an entity the server still holds is not this gesture's: it keeps its drawing and loses its badge (clearRestoredStatus).

      Addressed the way the badge is: by the identity the record gives the entity on its layer. Never throws: the capture is already destroyed, and a layer that cannot follow must not turn the operator's confirmed gesture into a failure.

      Parameters

      • layerId: string

        The entity's layer.

      • abandoned: { feature?: unknown; localId: string; serverId?: string | null }

        The record as it was BEFORE its removal: its feature, key and server identity.

      Returns boolean

      Whether the layer held the entity and let it go.

      removeAbandonedFeature("sites", { feature, localId: "loc:3f2…", serverId: null });