Project

General

Profile

1
OpenLayers.LonLat
2

    
3
This class represents a geographic coordinate pair, either projected or unprojected.
4

    
5
* Constructor
6
  OpenLayers.LonLat({float|lon}, {float|lat}) -- Create LonLat.
7

    
8
* Methods
9
  toString() -- {String} -- Converts to human readable string.
10
  toShortString() -- {String} -- Converts to short human readable string.
11
  clone() -- {OpenLayers.Size} -- Returns a copy of the pixel.
12
  equals({OpenLayers.LonLat|ll}) -- {Boolean} -- Compares two LonLats. 
13
  add({int|lon}, {int|lat}) -- {OpenLayers.LonLat} -- add x and y to the current coordinates.
(24-24/34)