/** * @externs */ /** * @type {Object} */ var oli; /** * @interface */ oli.CollectionEvent = function() {}; /** * @type {*} */ oli.CollectionEvent.prototype.element; /** * @interface */ oli.DragBoxEvent = function() {}; /** * @type {ol.Coordinate} */ oli.DragBoxEvent.prototype.coordinate; /** * @interface */ oli.DrawEvent = function() {}; /** * @type {ol.Feature} */ oli.DrawEvent.prototype.feature; /** * @interface */ oli.ObjectEvent = function() {}; /** @type {string} */ oli.ObjectEvent.prototype.key; /** * @interface */ oli.MapBrowserEvent = function() {}; /** * @type {ol.Coordinate} */ oli.MapBrowserEvent.prototype.coordinate; /** * @type {Event} */ oli.MapBrowserEvent.prototype.originalEvent; /** * @type {ol.Pixel} */ oli.MapBrowserEvent.prototype.pixel; /** * @interface */ oli.MapEvent = function() {}; /** * @type {ol.Map} */ oli.MapEvent.prototype.map; /** * @type {olx.FrameState} */ oli.MapEvent.prototype.frameState; /** * @type {Object} */ oli.control; /** * @interface */ oli.control.Control = function() {}; /** * @param {ol.Map} map Map. * @return {undefined} Undefined. */ oli.control.Control.prototype.setMap = function(map) {}; /** * @type {Object} */ oli.interaction; /** * @interface */ oli.interaction.Interaction = function() {}; /** * @param {ol.MapBrowserEvent} mapBrowserEvent Map browser event. * @return {boolean} Whether the map browser event should continue * through the chain of interactions. false means stop, true * means continue. */ oli.interaction.Interaction.prototype.handleMapBrowserEvent = function(e) {}; /** * @interface */ oli.interaction.DragAndDropEvent = function() {}; /** * @type {Array.