Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HMS Core
Class Info |
|---|
public class Coordinate Represents the location (longitude and latitude) of a place. |
Constructor Name |
|---|
Coordinate(double lat, double lng) Creates a Coordinate object using the latitude and longitude. |
Constructor |
|---|
Coordinate(double lat, double lng) Creates a Coordinate object using the latitude and longitude. |
Parameters
Name |
Description |
|---|---|
lat |
Latitude. |
lng |
Longitude. |
Method |
|---|
public double getLat() Obtains the latitude of a place. |
Returns
Type |
Description |
|---|---|
double |
Latitude. |
Method |
|---|
public double getLng() Obtains the longitude of a place. |
Returns
Type |
Description |
|---|---|
double |
Longitude. |
Method |
|---|
public void setLat(double lat) Sets the latitude of a place. |
Parameters
Name |
Description |
|---|---|
lat |
Latitude. The value ranges from –90 to 90. |
Method |
|---|
public void setLng(double lng) Sets the longitude of a place. |
Parameters
Name |
Description |
|---|---|
lng |
Longitude. The value ranges from –180 to 180. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.