@magiclane/maps-sdk
    Preparing search index...

    Class PathMatch

    Represents a path match result from hit testing.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • params: { coords: Coordinates; distance: number; path: number; segment: number }

      Returns PathMatch

    Properties

    coords: Coordinates

    Path matched position coordinates.

    distance: number

    Distance to matched position in meters.

    path: number

    Matched path index in the path collection.

    segment: number

    Path matched segment.

    Methods

    • Returns any

    • Parameters

      • json: any

      Returns PathMatch