文档首页/云地图服务 KooMap/开发指南/XRLightSDK使用手册/常见问题/定位后报错,日志显示“Cannot read properties of undefined(reading ‘position‘)”
更新时间:2025-01-10 GMT+08:00
分享

定位后报错,日志显示“Cannot read properties of undefined(reading ‘position‘)”

在components/xr-start/index.wxml文件里找到xr-camera ,然后在它的上一行加上node-id="cameraParent"的节点,如图1所示。

图1 增加节点

相关文档