Added getOverviewMap getter method in overviewmapcontrol.js

This commit is contained in:
bogdanvaduva
2015-05-25 15:23:43 +03:00
parent 78dcbe6b8e
commit 5569bd9113

View File

@@ -528,3 +528,12 @@ ol.control.OverviewMap.prototype.setCollapsed = function(collapsed) {
ol.control.OverviewMap.prototype.getCollapsed = function() {
return this.collapsed_;
};
/**
* Return the overview map.
* @return {ol.Map} Overview map.
* @api add
*/
ol.control.OverviewMap.prototype.getOverviewMap = function() {
return this.ovmap_;
};