GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Derives the endpoint point features for a set of line features. Only LineString / MultiLineString features contribute; others are skipped.

      Parameters

      • features: readonly Feature<Geometry, GeoJsonProperties>[]

        The bound layer's features.

      • role: EndpointRole

        Which endpoint to emit (start or end).

      Returns FeatureCollection

      A FeatureCollection of Point features (may be empty).