Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
9ad9f295
Commit
9ad9f295
authored
Feb 14, 2023
by
Eric Duminil
Browse files
TODOs
parent
8f4df31b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/eu/simstadt/regionchooser/website/script/simstadt_openlayers.js
View file @
9ad9f295
...
...
@@ -375,6 +375,7 @@ const regionChooser = (function(){
dataPanel
.
append
(
"
<br>
\n
"
);
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
"
);
//TODO: Show tooltip above.
dataPanel
.
append
(
"
<form id='importWKT' style='position:fixed; bottom:0;'>
\n
"
+
"
<input id='wktPolygon' type='text' placeholder='WKT Polygon'
"
+
"
required pattern=' *POLYGON *
\\
( *
\\
([
\\
-0-9
\
.,
\
)
\
()]+
\\
) *
\\
) *'
"
+
...
...
@@ -427,6 +428,8 @@ const regionChooser = (function(){
displayInfo
();
draw
.
setActive
(
false
);
//TODO: Test intersection with holes
console
.
log
(
"
Import was succesful!
"
);
dataPanel
.
prepend
(
"
<h2 class='ok'>WKT Polygon succesfully imported!</h2><br/>
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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