Class VectorFeatureBase<G, B>

Base Vector Feature Common variables and methods shared by all vector features

Type Parameters

Hierarchy (view full)

Constructors

Properties

Accessors

Constructors

  • Type Parameters

    Parameters

    • geometry: G

      the geometry of the feature

    • properties: OProperties = {}

      the properties of the feature

    • Optionalid: number

      the id of the feature if there is one

    • Optionalbbox: B

      the BBox of the feature

    Returns VectorFeatureBase<G, B>

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