diff --git a/main.js b/main.js index ee45858..02d364f 100644 --- a/main.js +++ b/main.js @@ -1,13 +1,13 @@ import './style.css'; -// import {Map, View} from 'ol'; -// import TileLayer from 'ol/layer/Tile'; -// import OSM from 'ol/source/OSM'; +import {Map, View} from 'ol'; +import TileLayer from 'ol/layer/Tile'; +import OSM from 'ol/source/OSM'; -import Map from 'https://cdn.jsdelivr.net/npm/ol/Map.js'; -import View from 'https://cdn.jsdelivr.net/npm/ol/View.js'; -import TileLayer from 'https://cdn.jsdelivr.net/npm/ol/layer/Tile.js'; -import OSM from 'https://cdn.jsdelivr.net/npm/ol/source/OSM.js'; +// import Map from 'https://cdn.jsdelivr.net/npm/ol/Map.js'; +// import View from 'https://cdn.jsdelivr.net/npm/ol/View.js'; +// import TileLayer from 'https://cdn.jsdelivr.net/npm/ol/layer/Tile.js'; +// import OSM from 'https://cdn.jsdelivr.net/npm/ol/source/OSM.js'; const map = new Map({