Class VectorFeaturePolysBase<G, B>

Base Vector Polys Feature

Type Parameters

Hierarchy (view full)

Constructors

Properties

bbox?: B

the bbox of the feature

geometry: BaseVectorLine<G>[][]

the geometry of the feature

id?: number

the id of the feature if there is one

indices: number[] = []

the indices of the geometry

properties: OProperties = {}

the properties of the feature

Accessors

  • get hasBBox(): boolean
  • Returns boolean

    • true if the feature has BBox
  • get hasMValues(): boolean
  • Returns boolean

    • true if the feature has M values
  • get hasOffsets(): boolean
  • Returns boolean

    true if the feature has offsets

Methods

  • Parameters

    • cache: ColumnCacheWriter

      the column cache to store the geometry

    • mShape: Shape = {}

      the shape of the M-values to encode the values as

    Returns number

    the indexes in the points column where the geometry is stored

  • Returns G[][]

    the flattened geometry