Commit 9ad9f295 authored by Eric Duminil's avatar Eric Duminil
Browse files

TODOs

parent 8f4df31b
...@@ -375,6 +375,7 @@ const regionChooser = (function(){ ...@@ -375,6 +375,7 @@ const regionChooser = (function(){
dataPanel.append("<br>\n"); dataPanel.append("<br>\n");
dataPanel.append("More info is available in the "); dataPanel.append("More info is available in the ");
dataPanel.append("<a href='http://simstadt.hft-stuttgart.de/related-softwares/region-chooser/'>SimStadt documentation</a><br>\n"); dataPanel.append("<a href='http://simstadt.hft-stuttgart.de/related-softwares/region-chooser/'>SimStadt documentation</a><br>\n");
//TODO: Show tooltip above.
dataPanel.append("<form id='importWKT' style='position:fixed; bottom:0;'>\n" + dataPanel.append("<form id='importWKT' style='position:fixed; bottom:0;'>\n" +
"<input id='wktPolygon' type='text' placeholder='WKT Polygon' " + "<input id='wktPolygon' type='text' placeholder='WKT Polygon' " +
"required pattern=' *POLYGON *\\( *\\([\\-0-9\., \)\()]+\\) *\\) *' " + "required pattern=' *POLYGON *\\( *\\([\\-0-9\., \)\()]+\\) *\\) *' " +
...@@ -427,6 +428,8 @@ const regionChooser = (function(){ ...@@ -427,6 +428,8 @@ const regionChooser = (function(){
displayInfo(); displayInfo();
draw.setActive(false); draw.setActive(false);
//TODO: Test intersection with holes
console.log("Import was succesful!"); console.log("Import was succesful!");
dataPanel.prepend("<h2 class='ok'>WKT Polygon succesfully imported!</h2><br/>"); dataPanel.prepend("<h2 class='ok'>WKT Polygon succesfully imported!</h2><br/>");
......
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