我这边遇到了 原因是因为 includePoints 方法传递points空数组导致的
TypeError: Cannot read property 'lat' of undefine?使用小程序地图报错, 不知道是为什么愿意 [渲染层错误] TypeError: Cannot read property 'lat' of undefined at t.value (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:17:31738) at t.value (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:17:31403) at e.value (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:17:169631) at l.pointsChanged (http://127.0.0.1:46376/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1658454761126&v=2.25.1:1:1447239) at Function.a.safeCallback (http://127.0.0.1:46376/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1658454761126&v=2.25.1:1:433221) at l.<anonymous> (http://127.0.0.1:46376/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1658454761126&v=2.25.1:1:475650) at d.doUpdates (http://127.0.0.1:46376/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1658454761126&v=2.25.1:1:494197) at h (http://127.0.0.1:46376/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1658454761126&v=2.25.1:1:1983248) at qi (http://127.0.0.1:46376/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1658454761126&v=2.25.1:1:1986465) at un (http://127.0.0.1:46376/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1658454761126&v=2.25.1:1:1991461)(env: Windows,mp,1.05.2204250; lib: 2.25.1)
2023-09-09