GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Extracts coordinates from a GeoJSON feature, converting [lng, lat] → [lat, lng].

      Parameters

      • feature: unknown

        The GeoJSON feature to extract coordinates from.

      Returns [number, number][] | null

      Array of [lat, lng] pairs, or null if no valid coordinates are found.