resium
resium copied to clipboard
React components for π Cesium
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cesium](http://cesium.com/cesiumjs/) ([source](https://redirect.github.com/CesiumGS/cesium)) | [`1.x` -> `1.122.0`](https://renovatebot.com/diffs/npm/cesium/1.16.0/1.122.0) | [](https://docs.renovatebot.com/merge-confidence/) |...
Fixes lack of `ImageryLayer` recreation on `imageryProvider` prop update by adding it to the `cesiumReadonlyProps` array, which is where it belongs according to the [Cesium](https://cesium.com/learn/cesiumjs/ref-doc/ImageryLayer.html#imageryProvider) and [Resium](https://resium.reearth.io/components/ImageryLayer#cesium-read-only-properties) documentation. Resolves reearth/resium#664...
# Overview The [Resium docs](https://resium.reearth.io/components/ImageryLayer#cesium-read-only-properties) and [Cesium docs](https://cesium.com/learn/cesiumjs/ref-doc/ImageryLayer.html#imageryProvider) agree that `ImageryLayer#imageryProvider` is a readonly property. It appears that Resium does not accurately respect that, and as a result the `ImageryLayer`...
On Cesium's [Viewer doc](https://cesium.com/learn/cesiumjs/ref-doc/Viewer.html), it expects baseLayer to be: [ImageryLayer](https://cesium.com/learn/cesiumjs/ref-doc/ImageryLayer.html) | false or undefined. In [Resium's Viewer.ts](https://github.com/reearth/resium/blob/0fc7823e0c80ce9ec151dbe1ffbd368b5f93c39f/src/Viewer/Viewer.ts#L152), it is forcing baseLayer to be `undefined` when it is set to `false`....
Hello, I am trying to get a reference to viewer but cesiumElement is always undefined. Even after cesium loads. ` const viewerRef = useRef(null); ....
I'm trying to create a project in React that when the "Open Map" button is clicked, the map appears, In version 1.17.2 the map appears twice, In version 1.17.3 the...
After the Viewer is recreated e.g because a readOnly Prop is updated the 3DTileset are no longer working. https://codesandbox.io/p/devbox/elastic-thunder-wvx2n3?file=%2Fsrc%2FApp.tsx%3A45%2C11-45%2C68 In the example cesium and the 3D Tileset is loaded and...
Hello everyone, I'm sure this is a common use case but can't find in the documentation how to handle this. I have a feature that allows user to toggle on...
I'm building an application using Resium where I need to keep things simple and clean, thus, I need to desactivate the rotate view in a 3D Map. We can make...
When i try to use BoxGraphics or other Graphics components, it didn't workγBut after I returned the version of resium to 1.17.2, the display worked fineγ ```jsx import { Viewer,...