Class VectorFeaturePointsBase<G, B>

Base Vector Points Feature

Type Parameters

Hierarchy (view full)

Constructors

Properties

bbox?: B

the BBox of the feature

geometry: G

the geometry of the feature

id?: number

the id of the feature if there is one

properties: OProperties = {}

the properties of the feature

Accessors

  • get hasBBox(): boolean
  • Returns boolean

    • true if the feature has BBox
  • get hasMValues(): boolean
  • Points do not have this feature, so return false

    Returns boolean

    false always

  • get hasOffsets(): boolean
  • Points do not have this feature, so return false

    Returns boolean

    false always

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 index in the points column where the geometry is stored

  • Returns G

    the geometry