Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davidh167 committed Apr 12, 2024
1 parent a74567e commit fdf6c8b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import './style.css';
// import Map from 'ol/Map';
// import View from 'ol/View';
// import TileLayer from 'ol/layer/Tile';
// import OSM from 'ol/source/OSM';


import OSM from 'ol/source/OSM';
import Feature from 'ol/Feature.js';
import Map from 'ol/Map.js';
import Point from 'ol/geom/Point.js';
Expand Down Expand Up @@ -127,7 +125,7 @@ const rasterLayer = new TileLayer({
const map = new Map({
target: 'map',
layers: [
new TileLayer({
new Tile({
source: new OSM()
}),
vectorLayer
Expand Down

0 comments on commit fdf6c8b

Please sign in to comment.