Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
155cc393
Commit
155cc393
authored
Mar 14, 2018
by
Eric Duminil
Browse files
RegionChooser: No need for KML header/footer.
parent
4c48786d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/eu/simstadt/regionchooser/RegionChooserBrowser.java
View file @
155cc393
...
...
@@ -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"
,
h
eader
+
hullKML
+
footer
)));
(
hullKML
->
jsApp
.
call
(
"addCityGmlHull"
,
h
ullKML
)));
}
public
void
downloadRegion
(
String
wktPolygon
,
String
productName
,
JSObject
novaFactoryLayer
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment