From fc2bd9405a40987e991033c9510b63b664c28916 Mon Sep 17 00:00:00 2001 From: Ralf Junghanns Date: Tue, 30 Aug 2016 17:20:45 +0200 Subject: [PATCH] Change option-name to sameDate --- SliderControl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SliderControl.js b/SliderControl.js index 8e369ad..8ed129c 100644 --- a/SliderControl.js +++ b/SliderControl.js @@ -105,7 +105,7 @@ L.Control.SliderControl = L.Control.extend({ values: _options.values, min: _options.minValue, max: _options.maxValue, - sameTime: _options.sameTime, + sameDate: _options.sameDate, step: 1, slide: function (e, ui) { var map = _options.map; @@ -149,7 +149,7 @@ L.Control.SliderControl = L.Control.extend({ fg.addLayer(_options.markers[i]); } } - }else if(_options.sameTime){ + }else if(_options.sameDate){ var currentTime; if (_options.markers[ui.value].feature !== undefined) { currentTime = _options.markers[ui.value].feature.properties.time;