Home > @magiclane/maps-sdk > PathMatch > (constructor)

PathMatch.(constructor)

Constructs a new instance of the PathMatch class

Signature:

constructor(params: {
        path: number;
        coords: Coordinates;
        distance: number;
        segment: number;
    });

Parameters

Parameter

Type

Description

params

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

params properties:

  • path: number
  • coords: Coordinates
  • distance: number
  • segment: number