Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation
Coordinate

Coordinate Class Reference

Constructors

Instance Methods

Constructors

new Coordinate(parameters)

Initializes an instance of Coordinate.

Instance Methods

coordinate.getLatitudeDegrees() ⇒ Number

Get the LatitudeDegrees

Kind: Instance method of Coordinate
Returns: Number - the KEY_LATITUDE_DEGREES value

coordinate.getLongitudeDegrees() ⇒ Number

Get the LongitudeDegrees

Kind: Instance method of Coordinate
Returns: Number - the KEY_LONGITUDE_DEGREES value

coordinate.setLatitudeDegrees(degrees) ⇒ Coordinate

Set the LatitudeDegrees

Kind: Instance method of Coordinate
Returns: Coordinate - The class instance for method chaining.

ParamTypeDescription
degrees Number Latitude of the location. - The desired LatitudeDegrees. {'num_min_value': -90.0, 'num_max_value': 90.0}

coordinate.setLongitudeDegrees(degrees) ⇒ Coordinate

Set the LongitudeDegrees

Kind: Instance method of Coordinate
Returns: Coordinate - The class instance for method chaining.

ParamTypeDescription
degrees Number Longitude of the location. - The desired LongitudeDegrees. {'num_min_value': -180.0, 'num_max_value': 180.0}
View on GitHub.com
Previous Section Next Section