remove unneeded parseFloat when building Bounds
This commit is contained in:
@@ -147,10 +147,8 @@ OpenLayers.Format.WMC.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
read_wmc_BoundingBox: function(context, node) {
|
||||
context.projection = node.getAttribute("SRS");
|
||||
context.bounds = new OpenLayers.Bounds(
|
||||
parseFloat(node.getAttribute("minx")),
|
||||
parseFloat(node.getAttribute("miny")),
|
||||
parseFloat(node.getAttribute("maxx")),
|
||||
parseFloat(node.getAttribute("maxy"))
|
||||
node.getAttribute("minx"), node.getAttribute("miny"),
|
||||
node.getAttribute("maxx"), node.getAttribute("maxy")
|
||||
);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user