Class LineString

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 LineString

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 LineString

  • Parameters

    • lineString: any

    Returns lineString is LineString

Generated using TypeDoc