Orbit 3D Mapping Viewer SDK
    Preparing search index...

    Class CoordinatePath

    Class CoordinatePath defines a spatial path as a list of parts, so it can be a multi-polyline or a multi-polygon.

    Donut shapes can be created by adding multiple parts to a single path. The winding rule for filling is 'nonzero', see https://en.wikipedia.org/wiki/Nonzero-rule So take care of the (counter)clockwise direction of each part.

    Index

    Constructors

    Properties

    crs: string

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

    The list of parts

    Methods

    • Convert to a polygon WKT string.

      Returns string

      a WKT string.

    • Convert to a polyline WKT string.

      Returns string

      a WKT string.

    • Return the most top-level crs.

      Returns string

    • Get the bounds.

      Returns Bounds

      returns a Bounds instance, never null.

    • Convert the object to a string.

      Returns string

      the string form of the object.