Class Polygon

Geometry for GeoJSON independent Objects including Point, LineString, Polygon

  • no GeometryCollection
  • no MultiPoint, MultiLineString, MultiPolygon

Hierarchy

Constructors

  • Parameters

    • coordinates: [number, number][][]
    • Optional properties: any

    Returns Polygon

Properties

bbox: MBR = ...
coordinates: any
projection: Projection = SphericalMercator
properties: any

Accessors

  • set Properties(properties): void
  • Parameters

    • properties: any

    Returns void

Methods

  • Parameters

    Returns boolean

  • Returns [number, number][][]

  • Returns void

  • Parameters

    Returns Polygon

  • Parameters

    Returns Polygon

  • Parameters

    • geometry: any

    Returns geometry is Polygon

Generated using TypeDoc