Merge pull request #3324 from ahocevar/select-event-interface
Add interface definition for ol.SelectEvent
This commit is contained in:
@@ -117,6 +117,25 @@ oli.MapEvent.prototype.map;
|
|||||||
oli.MapEvent.prototype.frameState;
|
oli.MapEvent.prototype.frameState;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @interface
|
||||||
|
*/
|
||||||
|
oli.SelectEvent = function() {};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {Array.<ol.Feature>}
|
||||||
|
*/
|
||||||
|
oli.SelectEvent.prototype.deselected;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {Array.<ol.Feature>}
|
||||||
|
*/
|
||||||
|
oli.SelectEvent.prototype.selected;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ ol.SelectEventType = {
|
|||||||
* @param {string} type The event type.
|
* @param {string} type The event type.
|
||||||
* @param {Array.<ol.Feature>} selected Selected features.
|
* @param {Array.<ol.Feature>} selected Selected features.
|
||||||
* @param {Array.<ol.Feature>} deselected Deselected features.
|
* @param {Array.<ol.Feature>} deselected Deselected features.
|
||||||
|
* @implements {oli.SelectEvent}
|
||||||
* @extends {goog.events.Event}
|
* @extends {goog.events.Event}
|
||||||
* @constructor
|
* @constructor
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user