@@ -75,7 +75,7 @@ ol.control.ZoomSlider = function(opt_options) {
|
||||
* @private
|
||||
* @type {number}
|
||||
*/
|
||||
this.duration_ = options.duration ? options.duration : 200;
|
||||
this.duration_ = options.duration !== undefined ? options.duration : 200;
|
||||
|
||||
var className = options.className ? options.className : 'ol-zoomslider';
|
||||
var thumbElement = goog.dom.createDom('BUTTON', {
|
||||
|
||||
Reference in New Issue
Block a user