Added getOverviewMap getter method in overviewmapcontrol.js
This commit is contained in:
@@ -528,3 +528,12 @@ 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 add
|
||||||
|
*/
|
||||||
|
ol.control.OverviewMap.prototype.getOverviewMap = function() {
|
||||||
|
return this.ovmap_;
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user