LeafletSlider icon indicating copy to clipboard operation
LeafletSlider copied to clipboard

Fixes a bug for initial showing of date when alwaysShowDate is true…

Open efosler opened this issue 6 years ago • 0 comments

…AND non-marker layers are displayed.

There are actually two bug fixes here:

  1. _extractTimeStamp should be _extractTimestamp
  2. When the slider is showing layers over time (rather than markers), the single line of code in 183 doesn't work. This patch copies the logic from above.

A better fix would be to refactor the code so that the timestamp updating logic only occurs once in the code, but this seems to be a bit tricky given how the slider is set up.

efosler avatar Dec 13 '18 17:12 efosler