|
|
@ -62,7 +62,7 @@ exports._loadNavigationElements = function() { |
|
|
|
*/ |
|
|
|
exports._zoomExtent = function(event) { |
|
|
|
// FIXME: this is a workaround because the binding of Hammer on Document makes this fire twice
|
|
|
|
if (this._zoomExtentLastTime === undefined || new Date() - this._zoomExtentLastTime > 50) { |
|
|
|
if (this._zoomExtentLastTime === undefined || new Date() - this._zoomExtentLastTime > 200) { |
|
|
|
this._zoomExtentLastTime = new Date(); |
|
|
|
this.zoomExtent({duration:800}); |
|
|
|
event.stopPropagation(); |
|
|
|