@reearth/core 0.0.7-alpha.28 → 0.0.7-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.js +57 -57
- package/dist/core.umd.cjs +9 -9
- package/package.json +1 -1
- package/src/engines/Cesium/hooks.ts +2 -2
package/package.json
CHANGED
|
@@ -560,8 +560,8 @@ export default ({
|
|
|
560
560
|
if (pickRay) {
|
|
561
561
|
const l = await scene.imageryLayers.pickImageryLayerFeatures(pickRay, scene);
|
|
562
562
|
|
|
563
|
-
//
|
|
564
|
-
const f = l?.
|
|
563
|
+
// Find the topmost overlaid feature.
|
|
564
|
+
const f = l?.findLast(f => !!f.data);
|
|
565
565
|
|
|
566
566
|
const appearanceType = f?.data?.appearanceType;
|
|
567
567
|
|