rules. latlng
namespace static
Globally available latitude-longitude functions. These functions are accessed
using the latlng. prefix.
Method
value
static
value(lat, lng) returns rules.LatLng
Create a LatLng from floating point coordinates.
Parameter |
|
|---|---|
|
lat |
The latitude. Value must not be null. |
|
lng |
The longitude. Value must not be null. |
- Returns
-
non-null rules.LatLnga LatLng.
Example
latlng.value(45.0, 90.0)