Class: module:models/GeoPoint

module:models/GeoPoint()

new module:models/GeoPoint()

Constructs a new GeoPoint.

Source:

Members

(inner) latitude :Number

Type:
  • Number
Source:

(inner) longitude :Number

Type:
  • Number
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/GeoPoint}

Constructs a GeoPoint from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/GeoPoint

Optional instance to populate.

Source:
Returns:

The populated GeoPoint instance.

Type
module:models/GeoPoint