Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VectorTileDataEmitter

Index

Constructors

constructor

Accessors

center

  • get center(): Vector3

projection

Methods

getDecodedTile

processLineFeature

processPointFeature

processPolygonFeature

Protected splitJaggyLines

  • splitJaggyLines(lines: number[][], minEstimatedLabelLengthSqr: number, maxCornerAngle: number): number[][]
  • Split the lines array into multiple parts if there are sharp corners. Reject parts that are too short to display the label text.

    Parameters

    • lines: number[][]

      Array containing the points of the paths.

    • minEstimatedLabelLengthSqr: number

      Minimum label size squared.

    • maxCornerAngle: number

      Maximum angle between consecutive path segments in radians.

    Returns number[][]

    The split and filtered lines array.

Generated using TypeDoc