Class eniro.maps.LatLng
Extends
eniro.maps.Coordinate.
Defined in: LatLng.js.
Constructor Attributes | Constructor Name and Description |
---|---|
eniro.maps.LatLng(lat, lng)
A coordinate of type WGS84.
|
Method Attributes | Method Name and Description |
---|---|
getLat()
Same as getY().
|
|
getLng()
Same as getX().
|
- Methods borrowed from class eniro.maps.Coordinate:
- approxEquals, equals, getSrs, transform
- Methods borrowed from class eniro.maps.Point:
- getX, getY
Class Detail
eniro.maps.LatLng(lat, lng)
A coordinate of type WGS84.
Class is considered a value type.
- Parameters:
- {number} lat
- The latitude (north-south) value.
- {number} lng
- The longitude (east-west) value.
Method Detail
getLat()
Same as getY().
- Returns:
- the latitude (north-south).
getLng()
Same as getX().
- Returns:
- the longitude (east-west).