Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoordinatePart defines a list of coordinates that are connected by line segments to form a polyline or polygon.

Hierarchy

  • CoordinatePart

Index

Constructors

Properties

Methods

Constructors

constructor

  • Create a new list. Be sure to set the crs property when adding points.

    Returns CoordinatePart

Properties

crs

crs: string

The EPSG CRS code of the coordinates in this list, like "4326" for example

points

points: AList<Coordinate>

The list of points

Static TYPE

TYPE: string = "CL"

The type of objects in this class

Methods

getBounds

  • Get the bounds.

    Returns Bounds

    returns a Bounds instance, never null.

toString

  • toString(): string
  • Convert the object to a string.

    Returns string

    the string form of the object.

Static createLine