Package com.mapfactor.sdk.map
Interface Coordinate
public interface Coordinate
Geographical coordinate
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic Coordinate
createDeg
(double latitudeDeg, double longitudeDeg) Create and initialize Coordinate instancestatic Coordinate
createDeg
(double latitudeDeg, double longitudeDeg, int zoom) Create and initialize Coordinate with zoom instancestatic Coordinate
createMs
(int latitudeMs, int longitudeMs) Create and initialize Coordinate instancestatic Coordinate
createMs
(int latitudeMs, int longitudeMs, int zoom) Create and initialize Coordinate with zoom instancedouble
Get coordinate latitude in degreesint
Get coordinate latitude in millisecondsdouble
Get coordinate longitude in degreesint
Get coordinate longitude in milliseconds
-
Method Details
-
createDeg
Create and initialize Coordinate instance- Parameters:
latitudeDeg
- latitude in degreeslongitudeDeg
- longitude in degrees- Returns:
- created Coordinate object instance
- Since:
- 1.0
-
createDeg
Create and initialize Coordinate with zoom instance- Parameters:
latitudeDeg
- latitude in degreeslongitudeDeg
- longitude in degreeszoom
- zoom in degrees- Returns:
- created Coordinate object instance
- Since:
- 4.2
-
createMs
Create and initialize Coordinate instance- Parameters:
latitudeMs
- latitude in millisecondslongitudeMs
- longitude in milliseconds- Returns:
- created Coordinate object instance
- Since:
- 1.0
-
createMs
Create and initialize Coordinate with zoom instance- Parameters:
latitudeMs
- latitude in millisecondslongitudeMs
- longitude in millisecondszoom
- zoom in degrees- Returns:
- created Coordinate object instance
- Since:
- 4.2
-
getLatitudeDeg
double getLatitudeDeg()Get coordinate latitude in degrees- Returns:
- latitude in degrees
- Since:
- 1.0
-
getLatitudeMs
int getLatitudeMs()Get coordinate latitude in milliseconds- Returns:
- latitude in milliseconds
- Since:
- 1.0
-
getLongitudeDeg
double getLongitudeDeg()Get coordinate longitude in degrees- Returns:
- latitude in degrees
- Since:
- 1.0
-
getLongitudeMs
int getLongitudeMs()Get coordinate longitude in milliseconds- Returns:
- latitude in milliseconds
- Since:
- 1.0
-