#874 - stop global namespace pollution and actually set state on features instead of i - thanks crschmidt for the test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3838 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -333,7 +333,7 @@ OpenLayers.Format.GML = OpenLayers.Class(OpenLayers.Format, {
|
||||
while (nums[nums.length-1] == "")
|
||||
nums.pop();
|
||||
|
||||
for(i = 0; i < nums.length; i = i + this.dim) {
|
||||
for(var i = 0; i < nums.length; i = i + this.dim) {
|
||||
x = parseFloat(nums[i]);
|
||||
y = parseFloat(nums[i+1]);
|
||||
p.points.push(new OpenLayers.Geometry.Point(x, y));
|
||||
|
||||
Reference in New Issue
Block a user