GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Converts a form-produced POI into a GeoJSON Point Feature suitable for GeoLeaf.Layers.addFeature / mergeFeatures on the host layer.

      Requires an id (promoteId / feature-state prerequisite); the add-form path always assigns one (user-poi-<ts>). Returns null when id is missing or no geometry/coordinates can be resolved.

      Parameters

      Returns Feature<Geometry, GeoJsonProperties> | null