From bfaeda545dc6d1132d4946a92ee611d4586cd067 Mon Sep 17 00:00:00 2001 From: keiya01 <34934510+keiya01@users.noreply.github.com> Date: Fri, 10 Jan 2025 09:38:28 +0900 Subject: [PATCH] feat: upgrade mvt lib --- package.json | 2 +- src/engines/Cesium/Feature/Raster/mvt.ts | 3 ++- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 2021f5f..7bb2c49 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@radix-ui/react-slot": "1.1.0", "@radix-ui/react-switch": "1.1.0", "@radix-ui/react-toggle": "1.1.0", - "@reearth/cesium-mvt-imagery-provider": "1.5.4", + "@reearth/cesium-mvt-imagery-provider": "1.6.0", "@rot1024/use-transition": "1.0.0", "@seznam/compose-react-refs": "1.0.6", "@turf/invariant": "6.5.0", diff --git a/src/engines/Cesium/Feature/Raster/mvt.ts b/src/engines/Cesium/Feature/Raster/mvt.ts index dd22daa..945f11e 100644 --- a/src/engines/Cesium/Feature/Raster/mvt.ts +++ b/src/engines/Cesium/Feature/Raster/mvt.ts @@ -1,6 +1,7 @@ -import { MVTImageryProvider } from "@reearth/cesium-mvt-imagery-provider"; import { useMemo } from "react"; +import { MVTImageryProvider } from "@reearth/cesium-mvt-imagery-provider"; + import { extractSimpleLayer } from "../utils"; import { useData, useImageryProvider } from "./hooks"; diff --git a/yarn.lock b/yarn.lock index 05783b5..fd4a977 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2114,10 +2114,10 @@ resolved "https://registry.yarnpkg.com/@react-dnd/shallowequal/-/shallowequal-4.0.2.tgz#d1b4befa423f692fa4abf1c79209702e7d8ae4b4" integrity sha512-/RVXdLvJxLg4QKvMoM5WlwNR9ViO9z8B/qPcc+C0Sa/teJY7QG7kJ441DwzOjMYEY7GmU4dj5EcGHIkKZiQZCA== -"@reearth/cesium-mvt-imagery-provider@1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@reearth/cesium-mvt-imagery-provider/-/cesium-mvt-imagery-provider-1.5.4.tgz#33b4433a3414bf869a667ff82ea20ae5ff7280a9" - integrity sha512-5FwyOOwDmE+KwWmHkYt/NosJ3A3FFSWyhTqEGVPyy/HzsyvT3lYwilA+k40sXc9jOjwntClfqQNvQMMsmPF9Hw== +"@reearth/cesium-mvt-imagery-provider@1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@reearth/cesium-mvt-imagery-provider/-/cesium-mvt-imagery-provider-1.6.0.tgz#faff69807215e30cdd86ae9670f3d81617c7b223" + integrity sha512-udtSpXOhPIfEgXimIy3ywGP72Jpd0bxdq2Lrsv+09Ds8zX8mT/oXapSoD6FZ4UKjjWvlRuP1wZcRyTCDlQ8b1Q== dependencies: "@mapbox/vector-tile" "1.3.1" "@turf/turf" "6.5.0"