Skip to content

Commit 6d03489

Browse files
authored
Merge pull request #1224 from openlayers/dependabot/npm_and_yarn/eslint-config-openlayers-20.0.0
Bump eslint-config-openlayers from 19.0.0 to 20.0.0
2 parents 1aa4e8d + 8b64ae2 commit 6d03489

24 files changed

+2854
-12687
lines changed

.eslintrc

Lines changed: 0 additions & 28 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ ol-mapbox-style now requires OpenLayers >= 6.13.
490490

491491
## 6.1.1
492492

493-
* Fix version issue with @maplibre/maplibre-gl-style-spec
493+
* Fix version issue with @mapbox/mapbox-gl-style-spec
494494

495495
## 6.1.0
496496

File renamed without changes.

examples/.eslintrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/apply-layergroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'ol/ol.css';
2-
import {Group as LayerGroup} from 'ol/layer.js';
32
import {Map, View} from 'ol';
3+
import {Group as LayerGroup} from 'ol/layer.js';
44
import {apply} from 'ol-mapbox-style';
55

66
const layerGroup = new LayerGroup();

examples/geojson-layer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import 'ol/ol.css';
2-
import VectorLayer from 'ol/layer/Vector.js';
32
import {Map, View} from 'ol';
4-
import {applyStyle} from 'ol-mapbox-style';
3+
import VectorLayer from 'ol/layer/Vector.js';
54
import {fromLonLat} from 'ol/proj.js';
5+
import {applyStyle} from 'ol-mapbox-style';
66

77
const layer = new VectorLayer();
88
applyStyle(layer, 'data/geojson.json');

examples/openmaptiles-layer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'ol/ol.css';
2-
import VectorTileLayer from 'ol/layer/VectorTile.js';
32
import {Map, View} from 'ol';
3+
import VectorTileLayer from 'ol/layer/VectorTile.js';
44
import {applyBackground, applyStyle} from 'ol-mapbox-style';
55

66
const baseUrl = 'https://api.maptiler.com/maps/basic/style.json';

examples/stylefunction.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import 'ol/ol.css';
2-
import GeoJsonFormat from 'ol/format/GeoJSON.js';
32
import Map from 'ol/Map.js';
3+
import View from 'ol/View.js';
4+
import GeoJsonFormat from 'ol/format/GeoJSON.js';
45
import VectorLayer from 'ol/layer/Vector.js';
56
import VectorSource from 'ol/source/Vector.js';
6-
import View from 'ol/View.js';
77

88
import {stylefunction} from 'ol-mapbox-style';
99

0 commit comments

Comments
 (0)