MeasureOverlayProps
Props for MeasureOverlay.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { MeasureOverlayProps } from "@mapcairn/map";
interface MeasureOverlayProps
Properties
hover
readonly hover?: LatLng;
The point under the pointer, drawn as a dashed preview to the last point.
mode
readonly mode: "distance" | "area";
A distance is an open line; an area is a closed, filled polygon.
points
readonly points: readonly LatLng[];
The committed points, in the order they were added.
testId
readonly testId?: string;
Sets data-testid on the overlay.
See also
Source: packages/map/src/host/overlays/MeasureOverlay.tsx:20