| class info |
| com.huawei.hms.mlsdk.common.MLCoordinate |
| Represents a longitude and latitude data class. |
| Constructor name |
| MLCoordinate(double lat, double lng) Instantiates a group of longitude and latitude data records. |
| Return type | Method name |
| double | getLat() |
| double | getLng() |
| Method |
| public MLCoordinate(double lat, double lng) |
| Instantiates a group of longitude and latitude data records. |
Parameters
| Parameter name | Parameter desc |
| lat | Latitude |
| lng | Longitude |
| Method |
| public double getLat() |
| Obtains latitude information. |
Return
| Type | desc |
| double | Latitude |
| Method |
| public double getLng() |
| Obtains longitude information. |
Return
| Type | desc |
| double | Longitude |