remove unneeded parseFloat when building Geometry.Point
This commit is contained in:
@@ -885,7 +885,7 @@ OpenLayers.Format.ArcXML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
coordArr = coordArr.split(/;/);
|
||||
for (var cn = 0; cn < coordArr.length; cn++) {
|
||||
var coordItems = coordArr[cn].split(/ /);
|
||||
ringPoints.push(new OpenLayers.Geometry.Point(parseFloat(coordItems[0]), parseFloat(coordItems[1])));
|
||||
ringPoints.push(new OpenLayers.Geometry.Point(coordItems[0], coordItems[1]));
|
||||
}
|
||||
coords = null;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user