UNPKG

amap-jsapi-v2-types

Version:
9 lines (7 loc) 287 B
import type { LngLatLike } from './LngLat'; export type Position = LngLatLike; export type Line = Position[]; export type Ring = Position[]; export type PolygonWithHoleCoords = Ring[]; export type PolygonCoords = Ring | PolygonWithHoleCoords; export type MultiPolygonCoords = Ring[][];