Type Parameters

  • V = any

Hierarchy

Constructors

Constructors

  • The constructor function initializes an object with an key, latitude, longitude, and an optional value.

    Type Parameters

    • V = any

    Parameters

    • key: VertexKey

      The key parameter is of type VertexKey and represents the identifier of the vertex.

    • Optional value: V

      The "value" parameter is an optional value of type V. It is not required to be provided when creating an instance of the class.

    • lat: number

      The "lat" parameter represents the latitude of a vertex. Latitude is a geographic coordinate that specifies the north-south position of a point on the Earth's surface. It is measured in degrees, with positive values representing points north of the equator and negative values representing points south of the equator.

    • long: number

      The "long" parameter represents the longitude of a location. Longitude is a geographic coordinate that specifies the east-west position of a point on the Earth's surface. It is measured in degrees, with values ranging from -180 to 180.

    Returns MapVertex<V>

Generated using TypeDoc