GeoLeaf Core API - v3.0.0
    Preparing search index...

    Interface LayerWriteTarget

    Where a layer's edits are pushed.

    Declared PER LAYER, with a plugin-level default, because on a backend such as Odoo each layer is a distinct collection. Today two mechanisms compete and never meet: a per-layer block read in four places but set by zero layers on 48, and a plugin-level base URL that ignores the layer entirely.

    Mirrors the shape the persistence adapters actually read; geometryProperty and properties are consumed only by the collection dialect, which sends a flat body.

    interface LayerWriteTarget {
        enabled: boolean;
        endpoint: string;
        dialect?: WriteDialect;
        auth?: WriteAuth;
        geometryProperty?: string;
        properties?: readonly string[];
    }
    Index

    Properties

    enabled: boolean
    endpoint: string
    dialect?: WriteDialect
    auth?: WriteAuth
    geometryProperty?: string

    Property key carrying the geometry in a collection body. Defaults to "geom".

    properties?: readonly string[]

    Whitelist of property keys sent in a collection body.