Merge pull request #3727 from bogdanvaduva/overview_map
Added getOverviewMap getter method in overviewmapcontrol.js
This commit is contained in:
@@ -520,3 +520,13 @@ ol.control.OverviewMap.prototype.setCollapsed = function(collapsed) {
|
|||||||
ol.control.OverviewMap.prototype.getCollapsed = function() {
|
ol.control.OverviewMap.prototype.getCollapsed = function() {
|
||||||
return this.collapsed_;
|
return this.collapsed_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the overview map.
|
||||||
|
* @return {ol.Map} Overview map.
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
ol.control.OverviewMap.prototype.getOverviewMap = function() {
|
||||||
|
return this.ovmap_;
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user