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

Markers开启聚合,自定义render 的话,点击聚合点展示的列表可以自定义吗? #245

Open
JulyAnnes opened this issue May 27, 2021 · 0 comments

Comments

@JulyAnnes
Copy link

JulyAnnes commented May 27, 2021

  • [v] 我已经搜索过 issue,没有类似的问题,或者类似的问题仍然没有解决方案。

  • [v] 我已经搜索过文档,并且仍然没有找到解决方案。

  • [v] 我写了个问题重现的例子,链接或者代码将会贴在下面。

    const randomPosition = () => ({
    longitude: 100 + Math.random() * 20,
    latitude: 30 + Math.random() * 20
    })
    const randomMarker = (len) => (
    Array(len).fill(true).map((e, idx) => ({
    position: randomPosition()
    }))
    );
    return (
    <Map plugins={['ToolBar']}>


    )

现象:聚合点超出
image

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

1 participant