[OpenLayers-Commits] r1772 - sandbox/bertil/lib/OpenLayers/Feature/Geometry

commits at openlayers.org commits at openlayers.org
Tue Nov 7 12:05:16 EST 2006


Author: pgiraud
Date: 2006-11-07 12:05:14 -0500 (Tue, 07 Nov 2006)
New Revision: 1772

Modified:
   sandbox/bertil/lib/OpenLayers/Feature/Geometry/LineString.js
Log:
typo in extent computation

Modified: sandbox/bertil/lib/OpenLayers/Feature/Geometry/LineString.js
===================================================================
--- sandbox/bertil/lib/OpenLayers/Feature/Geometry/LineString.js	2006-11-07 17:04:31 UTC (rev 1771)
+++ sandbox/bertil/lib/OpenLayers/Feature/Geometry/LineString.js	2006-11-07 17:05:14 UTC (rev 1772)
@@ -26,7 +26,7 @@
                 if (point.lat < ymin || ymin == null) {
                     ymin = point.lat;
                 }
-                if (point.lat > xmax || ymax == null) {
+                if (point.lat > ymax || ymax == null) {
                     ymax = point.lat;
                 }
             });



More information about the Commits mailing list