Make ol.control.OverviewMap's view configurable
This is useful for creating an OverviewMap in a different projection than EPSG:3857.
This commit is contained in:
@@ -99,7 +99,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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user