Explicit map renderer construction

This commit is contained in:
Tim Schaub
2018-03-18 12:46:40 -06:00
parent 2a9fde86b1
commit be35f82ae5
10 changed files with 32 additions and 152 deletions

View File

@@ -3,7 +3,7 @@
*/
import {inherits} from '../index.js';
import Collection from '../Collection.js';
import PluggableMap from '../PluggableMap.js';
import Map from '../Map.js';
import MapEventType from '../MapEventType.js';
import MapProperty from '../MapProperty.js';
import {getChangeEventType} from '../Object.js';
@@ -136,10 +136,10 @@ const OverviewMap = function(opt_options) {
this.ovmapDiv_.className = 'ol-overviewmap-map';
/**
* @type {module:ol/PluggableMap~PluggableMap}
* @type {module:ol/Map~Map}
* @private
*/
this.ovmap_ = new PluggableMap({
this.ovmap_ = new Map({
controls: new Collection(),
interactions: new Collection(),
view: options.view