Merge pull request #3727 from bogdanvaduva/overview_map

Added getOverviewMap getter method in overviewmapcontrol.js
This commit is contained in:
Andreas Hocevar
2015-10-08 19:54:16 +02:00

View File

@@ -520,3 +520,13 @@ 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
*/
ol.control.OverviewMap.prototype.getOverviewMap = function() {
return this.ovmap_;
};