We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c24af commit cf7f661Copy full SHA for cf7f661
src/openlayers/mapping/InitMap.js
@@ -1,5 +1,5 @@
1
import { MapService } from '../services/MapService';
2
-import Map from 'ol/Map';
+import olMap from 'ol/Map';
3
import View from 'ol/View';
4
import Tile from 'ol/layer/Tile';
5
import { TileSuperMapRest } from './TileSuperMapRest';
@@ -89,7 +89,7 @@ export function viewOptionsFromMapJSON(mapJSONObj, level = 22) {
89
90
function createMap(result, mapOptions, viewOptions) {
91
let view = viewOptionsFromMapJSON(result);
92
- var map = new Map({
+ var map = new olMap({
93
target: 'map',
94
view: new View({ ...view, ...viewOptions }),
95
...mapOptions
0 commit comments