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

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

    Returns CoordinatePart

Properties

crs: string

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

points: AList<Coordinate>

The list of points

TYPE: string = "CL"

The type of objects in this class

Methods

  • Get the bounds.

    Returns Bounds

    returns a Bounds instance, never null.

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

    Returns string

    the string form of the object.