Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LegGeometry

import type { LegGeometry } from "https://aws-api.deno.dev/v0.3/services/location.ts?docs=full";

Contains the geometry details for each path between a pair of positions. Used in plotting a route leg on a map.

interface LegGeometry {
LineString?: number[][] | null;
}

§Properties

§
LineString?: number[][] | null
[src]

An ordered list of positions used to plot a route on a map.

The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.

  • For example, [[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]