Interaction in ol.interaction namespace.

This commit is contained in:
Tim Schaub
2012-09-24 17:18:21 +02:00
parent ed754fbfdf
commit d51cd1c395
8 changed files with 27 additions and 27 deletions

View File

@@ -31,7 +31,7 @@ goog.require('ol.Collection');
goog.require('ol.Color');
goog.require('ol.Coordinate');
goog.require('ol.Extent');
goog.require('ol.Interaction');
goog.require('ol.interaction.Interaction');
goog.require('ol.MapBrowserEvent');
goog.require('ol.Object');
goog.require('ol.Pixel');
@@ -494,7 +494,7 @@ ol.Map.prototype.handleBrowserEvent = function(browserEvent, opt_type) {
var type = opt_type || browserEvent.type;
var mapBrowserEvent = new ol.MapBrowserEvent(type, this, browserEvent);
var interactions = this.getInteractions();
var interactionsArray = /** @type {Array.<ol.Interaction>} */
var interactionsArray = /** @type {Array.<ol.interaction.Interaction>} */
interactions.getArray();
goog.array.every(interactionsArray, function(interaction) {
interaction.handleMapBrowserEvent(mapBrowserEvent);