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 #172

Closed
tilkofjin opened this issue Oct 28, 2021 · 1 comment
Closed

报错:未找到 AMap #172

tilkofjin opened this issue Oct 28, 2021 · 1 comment

Comments

@tilkofjin
Copy link

页面渲染报错 ReferenceError: AMap is not defined

 <APILoader akay="a7a90e05a37d3f6bf76d4a9032fc9129">
      <div style={{ width: '100%', height: '300px' }}>
        <Map zoom={4}>
          <Marker
            visiable={showMarker}
            title="北京市"
            position={new AMap.LngLat(116.405285, 39.904989)}
          />
        </Map>
      </div>
    </APILoader>

报错未找到AMap~~~

@jaywcjlove
Copy link
Member

#45 (comment)
@tilkofjin

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