Commit 155cc393 authored by Eric Duminil's avatar Eric Duminil
Browse files

RegionChooser: No need for KML header/footer.

parent 4c48786d
......@@ -57,10 +57,8 @@ public JavaScriptFXBridge() {
}
public void refreshHulls() throws IOException {
String header = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<kml>\n" + " <Document>\n";
String footer = " </Document>\n" + "</kml>";
ConvexHullCalculator.extractHullsForEveryCityGML(repo,
(hullKML -> jsApp.call("addCityGmlHull", header + hullKML + footer)));
(hullKML -> jsApp.call("addCityGmlHull", hullKML)));
}
public void downloadRegion(String wktPolygon, String productName, JSObject novaFactoryLayer)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment