Add a getMap function to ol.FeatureOverlay

This commit is contained in:
Bart van den Eijnden
2015-01-27 19:54:34 +01:00
parent 43f84e798f
commit bc5f81cfa0
2 changed files with 17 additions and 0 deletions

View File

@@ -112,6 +112,15 @@ ol.FeatureOverlay.prototype.getFeatures = function() {
};
/**
* @return {?ol.Map} The map with which this feature overlay is associated.
* @api
*/
ol.FeatureOverlay.prototype.getMap = function() {
return this.map_;
};
/**
* @private
*/