Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
stw
stwkit
Commits
68b327ec
Commit
68b327ec
authored
Sep 27, 2017
by
Tomas Pettersson
🏸
Browse files
fixed depth info when added overlapping layer
parent
e71b10e5
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
src/components/cards.js
View file @
68b327ec
...
...
@@ -247,8 +247,10 @@ var STWkit;
default
:
break
;
}
if
(
self
.
forcingBoundary
)
if
(
self
.
forcingBoundary
)
{
self
.
forcingBoundary
.
validate
(
coordinates
);
self
.
forcingBoundary
.
addListener
(
self
.
control
.
layers
);
}
self
.
control
.
showTable
();
self
.
hasPosition
=
true
;
validate
();
...
...
@@ -381,8 +383,10 @@ var STWkit;
LocationCard
.
prototype
.
clear
=
function
()
{
var
self
=
this
;
_super
.
prototype
.
clear
.
call
(
this
);
if
(
self
.
forcingBoundary
)
if
(
self
.
forcingBoundary
)
{
self
.
forcingBoundary
.
hide
();
self
.
forcingBoundary
.
removeListener
(
self
.
control
.
layers
);
}
self
.
control
.
clear
();
self
.
control
.
hideTable
();
if
(
self
.
nextButton
)
...
...
src/components/cards.js.map
View file @
68b327ec
This diff is collapsed.
Click to expand it.
src/components/cards.ts
View file @
68b327ec
...
...
@@ -270,7 +270,10 @@ module STWkit {
default
:
break
;
}
if
(
self
.
forcingBoundary
)
self
.
forcingBoundary
.
validate
(
coordinates
);
if
(
self
.
forcingBoundary
)
{
self
.
forcingBoundary
.
validate
(
coordinates
);
self
.
forcingBoundary
.
addListener
(
self
.
control
.
layers
);
}
self
.
control
.
showTable
();
self
.
hasPosition
=
true
;
validate
();
...
...
@@ -412,7 +415,10 @@ module STWkit {
public
clear
()
{
var
self
=
this
;
super
.
clear
();
if
(
self
.
forcingBoundary
)
self
.
forcingBoundary
.
hide
();
if
(
self
.
forcingBoundary
)
{
self
.
forcingBoundary
.
hide
();
self
.
forcingBoundary
.
removeListener
(
self
.
control
.
layers
);
}
self
.
control
.
clear
();
self
.
control
.
hideTable
();
if
(
self
.
nextButton
)
AccordionCard
.
enableNext
(
self
.
nextButton
,
false
);
...
...
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