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

    Structural view of the form-produced POI consumed by poiToFeature.

    interface PoiToFeatureInput {
        id?: string | number;
        title?: string;
        description?: string;
        geometry?: { type: string; coordinates: unknown };
        latlng?: [number, number] | { lat?: number; lng?: number };
        attributes?: Record<string, unknown> & {
            categoryId?: unknown;
            subCategoryId?: unknown;
        };
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    id?: string | number
    title?: string
    description?: string
    geometry?: { type: string; coordinates: unknown }
    latlng?: [number, number] | { lat?: number; lng?: number }

    Legacy coordinate carrier — [lat, lng] tuple or { lat, lng }.

    attributes?: Record<string, unknown> & {
        categoryId?: unknown;
        subCategoryId?: unknown;
    }