UNPKG

terra-draw

Version:

Frictionless map drawing across mapping provider

7 lines (6 loc) 334 B
import { Point, Position } from "geojson"; import { JSONObject } from "../store/store"; export declare function getCoordinatesAsPoints<Properties extends JSONObject>(selectedCoords: Position[], geometryType: "Polygon" | "LineString", properties: (index: number) => Properties): { geometry: Point; properties: Properties; }[];