Temporarily removing Drag sequence.

This commit is contained in:
ahocevar
2012-06-21 14:14:36 +02:00
parent 6213e07f96
commit 5b747cf7fd
4 changed files with 6 additions and 10 deletions

View File

@@ -4,7 +4,6 @@ goog.require('ol.Loc');
goog.require('ol.Projection');
goog.require('ol.event');
goog.require('ol.event.Events');
goog.require('ol.event.Drag');
goog.require('ol.control.Control');
@@ -79,9 +78,7 @@ ol.Map = function() {
* @private
* @type {ol.event.Events}
*/
this.events_ = new ol.event.Events(
this, undefined, true, [new ol.event.Drag()]
);
this.events_ = new ol.event.Events(this);
/**
* @private
@@ -89,6 +86,8 @@ ol.Map = function() {
*/
this.container_ = null;
this.setControls(ol.Map.DEFAULT_CONTROLS);
};
/**
@@ -115,7 +114,7 @@ ol.Map.DEFAULT_TILE_SIZE = 256;
@const
@type {Array.<string>}
*/
ol.Map.DEFAULT_CONTROLS = ["Navigation", "Zoom"];
ol.Map.DEFAULT_CONTROLS = ["Navigation"];
/**
* @return {ol.Loc} Location.