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

定位按钮总会在一些操作之后莫名消失的问题

Open Burain opened this issue 6 years ago • 3 comments

  • [ ] 我已经搜索过 issue,没有类似的问题,或者类似的问题仍然没有解决方案。
  • [ ] 我已经搜索过文档,并且仍然没有找到解决方案。
  • [ ] 我写了个问题重现的例子,链接或者代码将会贴在下面。

比如官方文档里面的 https://elemefe.github.io/react-amap/components/map status 属性 里面的 ToggleZoom enable 按钮就会出现,定位按钮消失的情况!

Burain avatar Jun 07 '18 02:06 Burain

报错 ./node_modules/react-amap/lib/index.js Module build failed: Error: Couldn't find preset "stage-0" relative to directory

shine135235 avatar Jun 12 '18 05:06 shine135235

确实是有这个问题,我也没解决,用的Geolocation插件来显示,但加载的时候其实出现两个点位原点,在操作maker时原点的display:none,这是问题的原因

luofly avatar May 16 '19 04:05 luofly

Geolocation插件

luofly avatar May 17 '19 04:05 luofly