Open Pioneer Trails Packages
    Preparing search index...

    Complete feature template combining geometry configuration with form template.

    A feature template provides all the information needed to create and edit features, including

    Feature templates are used throughout the editing workflow to determine how features are created, displayed, and edited.

    const pointTemplate: FeatureTemplate = {
    name: "Point of Interest",
    kind: "declarative",
    geometryType: "Point",
    layerId: "poi-layer",
    fields: [
    { label: "Name", type: "text-field", propertyName: "name", isRequired: true },
    { label: "Description", type: "text-area", propertyName: "description" }
    ]
    };