-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
热力图无法渲染 #2160
Labels
Comments
hi @Raymond1030, welcome! |
你 getjson 异步写法不需要写 await 吗 |
Hello @Raymond1030. Please provide a online reproduction by forking codesandbox of @antv/l7 demo template Issues labeled by 你好 @Raymond1030, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 @antv/l7 demo 模板 3 天内未跟进此 issue 将会被自动关闭。 |
我的getjson函数已经包含了,不用担心异步,数据已经成功读入 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我只有一组点数据,我只是想单纯根据点密度进行热力图渲染,我是使用了我自己的Mapbox地图实例之后进行渲染,但是热力图格式一直在报错。我能确保底图是正常的,GetJson是正常读入的。
L7通过CDN引入
数据:村子_new.json
报错:l7:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'positions')
代码:
const scene = new L7.Scene({
id: 'map',
map: new L7.Mapbox({
mapInstance: map,
}),
});
The text was updated successfully, but these errors were encountered: