Merge pull request #4479 from fredj/export_interaction_getMap

Export ol.interaction.Interaction#getMap function
This commit is contained in:
Frédéric Junod
2015-11-23 15:54:14 +01:00
+1
View File
@@ -72,6 +72,7 @@ ol.interaction.Interaction.prototype.getActive = function() {
/** /**
* Get the map associated with this interaction. * Get the map associated with this interaction.
* @return {ol.Map} Map. * @return {ol.Map} Map.
* @api
*/ */
ol.interaction.Interaction.prototype.getMap = function() { ol.interaction.Interaction.prototype.getMap = function() {
return this.map_; return this.map_;