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

Polygon

import type { Polygon } from "https://googleapis.deno.dev/v1/areainsights:v1.ts";

A polygon is represented by a series of connected coordinates in an counterclockwise ordered sequence. The coordinates form a closed loop and define a filled region. The first and last coordinates are equivalent, and they must contain identical values. The format is a simplified version of GeoJSON polygons (we only support one counterclockwise exterior ring).

interface Polygon {
coordinates?: LatLng[];
}

§Properties

§
coordinates?: LatLng[]
[src]

Optional. The coordinates that define the polygon.