-
Notifications
You must be signed in to change notification settings - Fork 633
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
加载地图 出错误 #1971
Comments
Uncaught Error: Invalid Object: LngLat(NaN, NaN) |
地图没设置高度 |
好的,感谢已经解决 |
问题描述
1.调用方法 const scene = new Scene({
id: 'map',
map: new GaodeMap({
style: 'light',
// center: [120.19382669582967, 30.258134],
zoom: 3,
}),
});
2.引入
import { GaodeMap, Scene } from '@antv/l7';
import { Choropleth } from '@antv/l7plot';
2.出现的错误 error
Uncaught runtime errors:
×
ERROR
Script error.
at handleError (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:299:58)
at eval (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:318:7)
这是什么情况?
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: