Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ ol-mapbox-style now requires OpenLayers >= 6.13.

## 6.1.1

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

## 6.1.0

Expand Down
File renamed without changes.
6 changes: 0 additions & 6 deletions examples/.eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion examples/apply-layergroup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'ol/ol.css';
import {Group as LayerGroup} from 'ol/layer.js';
import {Map, View} from 'ol';
import {Group as LayerGroup} from 'ol/layer.js';
import {apply} from 'ol-mapbox-style';

const layerGroup = new LayerGroup();
Expand Down
4 changes: 2 additions & 2 deletions examples/geojson-layer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'ol/ol.css';
import VectorLayer from 'ol/layer/Vector.js';
import {Map, View} from 'ol';
import {applyStyle} from 'ol-mapbox-style';
import VectorLayer from 'ol/layer/Vector.js';
import {fromLonLat} from 'ol/proj.js';
import {applyStyle} from 'ol-mapbox-style';

const layer = new VectorLayer();
applyStyle(layer, 'data/geojson.json');
Expand Down
2 changes: 1 addition & 1 deletion examples/openmaptiles-layer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'ol/ol.css';
import VectorTileLayer from 'ol/layer/VectorTile.js';
import {Map, View} from 'ol';
import VectorTileLayer from 'ol/layer/VectorTile.js';
import {applyBackground, applyStyle} from 'ol-mapbox-style';

const baseUrl = 'https://api.maptiler.com/maps/basic/style.json';
Expand Down
4 changes: 2 additions & 2 deletions examples/stylefunction.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'ol/ol.css';
import GeoJsonFormat from 'ol/format/GeoJSON.js';
import Map from 'ol/Map.js';
import View from 'ol/View.js';
import GeoJsonFormat from 'ol/format/GeoJSON.js';
import VectorLayer from 'ol/layer/Vector.js';
import VectorSource from 'ol/source/Vector.js';
import View from 'ol/View.js';

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

Expand Down
Loading