RouteLineGeometry
A line of [longitude, latitude] positions, as GeoJSON writes a
LineString. It uses plain arrays, so it passes straight to code typed
with the GeoJSON types, and the geometry helpers in core accept it.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { RouteLineGeometry } from "@mapcairn/core";
interface RouteLineGeometry
Properties
coordinates
readonly coordinates: number[][];
The line's [longitude, latitude] positions, in order.
type
readonly type: "LineString";
Always LineString.