Merge pull request #4116 from ahocevar/overviewmap-view

Make ol.control.OverviewMap's view configurable
This commit is contained in:
Andreas Hocevar
2015-10-08 11:44:38 +02:00
2 changed files with 13 additions and 2 deletions

View File

@@ -97,7 +97,8 @@ ol.control.OverviewMap = function(opt_options) {
this.ovmap_ = new ol.Map({
controls: new ol.Collection(),
interactions: new ol.Collection(),
target: ovmapDiv
target: ovmapDiv,
view: options.view
});
var ovmap = this.ovmap_;