@maplibre/ngx-maplibre-gl
    Preparing search index...

    Type Alias LngLatLikeOrPosition

    LngLatLikeOrPosition: LngLatLike | GeoJSON.Position

    Anything MapLibre accepts as a coordinate.

    MapLibre's own LngLatLike only permits a [number, number] tuple, but LngLat.convert accepts any two- or three-element array at runtime - which is exactly the shape of a GeoJSON.Position. Accepting it here means a feature.geometry.coordinates can be bound straight to an input, without the cast that the narrower type would otherwise force on every caller.