new GeoLocation(location)
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
location |
Object |
Properties
|
Members
-
Latitude :String
-
Return the formatted latitude for this location Formatted as XX°YY′
Type:
- String
-
LatitudeRaw :Number
-
Return the raw numeric value of this position's latitude
Type:
- Number
-
Longitude :String
-
Return the formatted longitude for this location Formatted as XX°YY′ZZ″
Type:
- String
-
LongitudeRaw :Number
-
Return the raw numeric value of this position's longitude
Type:
- Number
Methods
-
<static> RandomBetween()
-
Return a random point between two GeoLocation objects
Returns:
New GeoLocation object randomly set between locationA and locationB- Type
- GeoLocation
-
toGoogleMaps()
-
Return a URL to this park on Google Maps
Returns:
URL to this park on Google Maps- Type
- String
-
toString()
-
Return this GeoLocation safe for printing
Returns:
Location String formatted as: ([latitude], [longitude])- Type
- String