Skip to content

Commit

Permalink
Change option-name to sameDate
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbl committed Aug 30, 2016
1 parent dbfd7a9 commit fc2bd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SliderControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit fc2bd94

Please sign in to comment.