Skip to content
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

AMap is not defined #289

Closed
limeiwang opened this issue Nov 16, 2022 · 1 comment
Closed

AMap is not defined #289

limeiwang opened this issue Nov 16, 2022 · 1 comment

Comments

@limeiwang
Copy link

<Circle
radius={radius}
strokeColor="#fff"
strokeWeight={2}
center={new AMap.LngLat(position.lon, position.lat)}
/>

当我在umijs项目中使用 new AMap类的时候报错

jaywcjlove added a commit that referenced this issue Nov 16, 2022
@jaywcjlove
Copy link
Member

@limeiwang 没有 AMap 这个对象,要么跳台了,使用了我们的高德组件 uiwjs/react-amap#45 (comment)

在就是首页的一处文档错误,已修改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants