Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class to create features.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new MapViewFeature(coordinates: FeatureGeometry["coordinates"], properties?: undefined | {}): MapViewFeature

Properties

coordinates

coordinates: FeatureGeometry["coordinates"]

The GeoJson geometry.

Optional properties

properties: undefined | {}

type

type: FeatureGeometry["type"] = "Point"

The type of the feature. The extended class should initialize this value. It defaults to "Point" in order to avoid allowing null or undefined.

uuid

uuid: string = THREE.MathUtils.generateUUID()

A string identifying this feature.

Generated using TypeDoc