QueryArea
The area a feature query searches: a GeoJSON Polygon, an outer ring and
then any holes, each ring closed, as [longitude, latitude] positions. It
uses plain arrays, so the Polygon that shapeGeometry gives for a drawn
polygon or circle passes straight in.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { QueryArea } from "@mapcairn/core";
interface QueryArea
Properties
coordinates
readonly coordinates: number[][][];
The rings, outer ring first, then any holes, as closed lists of [longitude, latitude] positions.
type
readonly type: "Polygon";
Always Polygon.