From ea4fe59dbacff4b45584a05263621dd4e1640da3 Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Mon, 23 Sep 2024 18:58:22 +0200 Subject: [PATCH] OpenLayers 10.2.0 support --- CHANGELOG.md | 4 ++++ package.json | 6 +++--- src/layer/RLayerVectorMBTiles.tsx | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf5c8ed6..19792462 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ 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] + +- OpenLayers 10.2.0 support + ## [3.1.0] 2024-07-27 - OpenLayers 10 support diff --git a/package.json b/package.json index 91f328e3..e9f2323a 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "lru-cache": "^11.0.0" }, "peerDependencies": { - "ol": "^10.0.0", + "ol": "^10.2.0", "react": ">=18", "react-dom": ">=18" }, @@ -134,8 +134,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", diff --git a/src/layer/RLayerVectorMBTiles.tsx b/src/layer/RLayerVectorMBTiles.tsx index 71304785..abdb4e31 100644 --- a/src/layer/RLayerVectorMBTiles.tsx +++ b/src/layer/RLayerVectorMBTiles.tsx @@ -96,8 +96,8 @@ export default class RLayerVectorMBTiles< > extends RLayerRaster { addon: Promise; metadata: Promise; - ol: LayerVectorTile; - source: MBTiles.MBTilesVectorSource; + ol: LayerVectorTile, F>; + source: MBTiles.MBTilesVectorSource; private abort: AbortController; constructor(props: Readonly, context?: React.Context) {