Skip to content

Commit

Permalink
OpenLayers 10.2.0 support (#295)
Browse files Browse the repository at this point in the history
* OpenLayers 10.2.0 support

* update the changelog
  • Loading branch information
mmomtchev committed Sep 24, 2024
1 parent d65fb74 commit bf45c28
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### [3.2.0]

- Fixed `package-lock.json`
- OpenLayers 10.2.0 support

## [3.1.0] 2024-07-27

- OpenLayers 10 support
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"lru-cache": "^11.0.0"
},
"peerDependencies": {
"ol": "^10.0.0",
"ol": "^10.2.0",
"react": ">=18",
"react-dom": ">=18"
},
Expand Down Expand Up @@ -138,8 +138,8 @@
"jest-environment-jsdom": "^29.4.3",
"markdown-loader": "^8.0.0",
"null-loader": "^4.0.1",
"ol": "^10.0.0",
"ol-mbtiles": "^3.0.0",
"ol": "^10.2.0",
"ol-mbtiles": "^3.1.0",
"prettier": "2.8.8",
"prism-themes": "^1.6.0",
"prismjs": "^1.28.0",
Expand Down
4 changes: 2 additions & 2 deletions src/layer/RLayerVectorMBTiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ export default class RLayerVectorMBTiles<
> extends RLayerRaster<RLayerVectorMBTilesProps> {
addon: Promise<typeof MBTiles>;
metadata: Promise<MBTiles.MBTilesVectorOptions & MBTiles.SQLOptions>;
ol: LayerVectorTile<MBTiles.MBTilesVectorSource, F>;
source: MBTiles.MBTilesVectorSource;
ol: LayerVectorTile<MBTiles.MBTilesVectorSource<F>, F>;
source: MBTiles.MBTilesVectorSource<F>;
private abort: AbortController;

constructor(props: Readonly<RLayerVectorMBTilesProps>, context?: React.Context<RContextType>) {
Expand Down

0 comments on commit bf45c28

Please sign in to comment.