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
c356313c
Commit
c356313c
authored
Oct 06, 2022
by
Eric Duminil
Browse files
Less negative space
parent
8d3aef30
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/eu/simstadt/regionchooser/website/script/simstadt_openlayers.js
View file @
c356313c
...
@@ -247,9 +247,9 @@ var regionChooser = (function(){
...
@@ -247,9 +247,9 @@ var regionChooser = (function(){
var
time
=
end
-
start
;
var
time
=
end
-
start
;
console
.
log
(
'
Download Execution time:
'
+
(
time
/
1000
).
toFixed
(
3
)
+
'
s
'
);
console
.
log
(
'
Download Execution time:
'
+
(
time
/
1000
).
toFixed
(
3
)
+
'
s
'
);
setTimeout
(
function
()
{
setTimeout
(
function
()
{
resetDrawing
();
document
.
getElementById
(
"
download_region_button
"
).
disabled
=
false
;
document
.
getElementById
(
"
download_region_button
"
).
disabled
=
false
;
document
.
documentElement
.
className
=
''
;
// Stop waiting
document
.
documentElement
.
className
=
''
;
// Stop waiting
resetDrawing
();
},
100
);
},
100
);
}
else
{
}
else
{
var
msg
=
"
ERROR : Unknown coordinate system :
\"
"
+
srsName
+
"
\"
. Cannot extract any region
"
;
var
msg
=
"
ERROR : Unknown coordinate system :
\"
"
+
srsName
+
"
\"
. Cannot extract any region
"
;
...
@@ -283,8 +283,7 @@ var regionChooser = (function(){
...
@@ -283,8 +283,7 @@ var regionChooser = (function(){
'
<button type="button" onclick="regionChooser.downloadFromSelectedCityGMLs()" id="download_region_button" disabled>Download Region</button><br/>
\n
'
+
'
<button type="button" onclick="regionChooser.downloadFromSelectedCityGMLs()" id="download_region_button" disabled>Download Region</button><br/>
\n
'
+
'
<a href="#" onclick="regionChooser.checkCityGMLS(true);">(Select All)</a>
\n
'
+
'
<a href="#" onclick="regionChooser.checkCityGMLS(true);">(Select All)</a>
\n
'
+
'
<a href="#" onclick="regionChooser.checkCityGMLS(false);">(Select None)</a>
\n
'
+
'
<a href="#" onclick="regionChooser.checkCityGMLS(false);">(Select None)</a>
\n
'
+
'
</div><br/>
\n
'
);
'
</div>
\n
'
);
dataPanel
.
append
(
'
<br/>
\n
'
);
findIntersections
();
findIntersections
();
}
}
...
...
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