react-bmap icon indicating copy to clipboard operation
react-bmap copied to clipboard

自定义覆盖物,marker绑定的events不生效

Open xwg2015 opened this issue 6 years ago • 2 comments

rt

xwg2015 avatar Nov 14 '19 06:11 xwg2015

try like this

<Marker>
    <Custom onClick={} />
</Marker>

Junior2Ran avatar Nov 14 '19 07:11 Junior2Ran

现在有个需求就是鼠标移入 当前的自定义覆盖物的zindex置顶 我发现每次触发events 都会重新渲染那一批customoverlay 导致js修改的zindex不生效

xwg2015 avatar Nov 14 '19 07:11 xwg2015