git-svn-id: http://svn.openlayers.org/trunk/openlayers@1268 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
14 lines
560 B
Plaintext
14 lines
560 B
Plaintext
OpenLayers.LonLat
|
|
|
|
This class represents a geographic coordinate pair, either projected or unprojected.
|
|
|
|
* Constructor
|
|
OpenLayers.LonLat({float|lon}, {float|lat}) -- Create LonLat.
|
|
|
|
* Methods
|
|
toString() -- {String} -- Converts to human readable string.
|
|
toShortString() -- {String} -- Converts to short human readable string.
|
|
clone() -- {OpenLayers.Size} -- Returns a copy of the pixel.
|
|
equals({OpenLayers.LonLat|ll}) -- {Boolean} -- Compares two LonLats.
|
|
add({int|lon}, {int|lat}) -- {OpenLayers.LonLat} -- add x and y to the current coordinates.
|