Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
stw
L.TimeDimension.layer.weather
Commits
257844fa
Commit
257844fa
authored
Nov 01, 2017
by
Tomas Pettersson
🏸
Browse files
bugfix getting first layer
parent
491d4c7b
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
dist/L.TimeDimension.layer.weather.js
View file @
257844fa
...
...
@@ -339,7 +339,7 @@ L.TimeDimension.Layer.WMS.Picasso = L.TimeDimension.Layer.WMS.extend({
},
_getLayerForTime
:
function
(
time
)
{
if
(
time
==
0
||
time
==
this
.
_defaultTime
||
time
==
null
)
{
if
(
time
==
0
||
time
==
this
.
_defaultTime
||
time
==
null
||
this
.
_refTime
==
0
)
{
return
this
.
_baseLayer
;
}
if
(
this
.
_layers
.
hasOwnProperty
(
time
))
{
...
...
dist/L.TimeDimension.layer.weather.map
View file @
257844fa
This diff is collapsed.
Click to expand it.
dist/L.TimeDimension.layer.weather.min.js
View file @
257844fa
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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