Code cleanup.
This commit is contained in:
+2
-1
@@ -158,6 +158,7 @@ function addWKTInput(input, previousSibling) {
|
|||||||
container.appendChild(field);
|
container.appendChild(field);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// helper function for xml input
|
||||||
function addXMLInput(input, type) {
|
function addXMLInput(input, type) {
|
||||||
var name = input.identifier;
|
var name = input.identifier;
|
||||||
var field = document.createElement("input");
|
var field = document.createElement("input");
|
||||||
@@ -225,7 +226,7 @@ function addBoundingBoxInput(input) {
|
|||||||
input.boundingBoxData = {
|
input.boundingBoxData = {
|
||||||
projection: "EPSG:4326",
|
projection: "EPSG:4326",
|
||||||
bounds: OpenLayers.Bounds.fromString(field.value)
|
bounds: OpenLayers.Bounds.fromString(field.value)
|
||||||
}
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user