public class LatLng
extends org.fujion.ancillary.Options
| Modifier and Type | Field and Description |
|---|---|
protected double |
lat
Latitude specified in degrees within the range [-90, 90].
|
protected double |
lng
Longitude specified in degrees within the range [-180, 180].
|
Boolean |
noWrap
Set noWrap to true to enable values outside of this range.
|
| Constructor and Description |
|---|
LatLng(double lat,
double lng) |
LatLng(double lat,
double lng,
Boolean noWrap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
double |
getLatitude()
Returns the latitude component.
|
double |
getLongitude()
Returns the longitude component.
|
static LatLng |
parse(String value)
Parse the string into a LatLng instance.
|
String |
toString() |
@Option protected double lat
@Option protected double lng
@Option public Boolean noWrap
public LatLng(double lat,
double lng)
public LatLng(double lat,
double lng,
Boolean noWrap)
public static LatLng parse(String value)
value - Value to parse.public double getLatitude()
public double getLongitude()
Copyright © 2023 Fujion Framework. All rights reserved.