public interface GPS
| Modifier and Type | Method and Description |
|---|---|
GPS |
create(double latitude,
double longitude)
Creates IGPS basing on the string DMS(Degrees, Minutes, Second) representations of longitude and latitude
|
GPS |
create(String latitude,
String longitude)
Creates IGPS basing on the decimal longitude and latitude
|
double |
getDecimalLatitude()
Returns the decimal representation of latitude
|
double |
getDecimalLongitude()
Returns the decimal representation of longitude
|
String |
toDMSString()
Returns DMS representation of coordinates
|
String |
toGeocodeServiceFormat()
Returns lat/long representation of coordinates in the format acceptable by google Service
|
String |
toString()
Returns decimal representation of coordinates
|
double getDecimalLongitude()
double getDecimalLatitude()
GPS create(String latitude, String longitude) throws GeoLocatorException
longitude - latitude - GeoLocatorExceptionGPS create(double latitude, double longitude) throws GeoLocatorException
longitude - latitude - GeoLocatorExceptionString toString()
String toDMSString()
String toGeocodeServiceFormat()
Copyright © 2017 SAP SE. All Rights Reserved.