From 20153301386074f82ce09f12a364792978b8d472 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 11 Jul 2007 21:01:24 +0000 Subject: [PATCH] clarify docs for LonLat git-svn-id: http://svn.openlayers.org/trunk/openlayers@3708 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/BaseTypes/LonLat.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/OpenLayers/BaseTypes/LonLat.js b/lib/OpenLayers/BaseTypes/LonLat.js index b62e6624c6..1c5882036f 100644 --- a/lib/OpenLayers/BaseTypes/LonLat.js +++ b/lib/OpenLayers/BaseTypes/LonLat.js @@ -11,23 +11,27 @@ OpenLayers.LonLat.prototype = { /** * APIProperty: lon - * {Float} + * {Float} The x-axis coodinate in map units */ lon: 0.0, /** * APIProperty: lat - * {Float} + * {Float} The y-axis coordinate in map units */ lat: 0.0, /** * Constructor: OpenLayers.LonLat - * Create a new OpenLayers.LonLat instance + * Create a new map location. * * Parameters: - * lon - {Number} The lon coordinate - * lat - {Number} The lat coordinate + * lon - {Number} The x-axis coordinate in map units. If your map is in + * a geographic projection, this will be the Longitude. Otherwise, + * it will be the x coordinate of the map location in your map units. + * lat - {Number} The y-axis coordinate in map units. If your map is in + * a geographic projection, this will be the Latitude. Otherwise, + * it will be the y coordinate of the map location in your map units. */ initialize: function(lon, lat) { this.lon = parseFloat(lon);