refactoring, type annotations

This commit is contained in:
tsauerwein
2014-02-19 11:58:56 +01:00
parent d772c95ccf
commit 7fbd11154b
8 changed files with 250 additions and 56 deletions
+6
View File
@@ -160,6 +160,11 @@ ol.MapBrowserEventHandler = function(map) {
* @private
*/
this.activePointers_ = 0;
/**
* @type {Object.<number, boolean>}
* @private
*/
this.trackedTouches_ = {};
/**
@@ -167,6 +172,7 @@ ol.MapBrowserEventHandler = function(map) {
* @private
*/
this.pointerEventHandler_ = new ol.pointer.PointerEventHandler(element);
this.pointerdownListenerKey_ = goog.events.listen(this.pointerEventHandler_,
ol.pointer.EventType.POINTERDOWN,
this.handlePointerDown_, false, this);