Closed duanshanshan7 closed 4 years ago
图中有什么问题吗?marker和4我看线是连上的 一正一负的时候,试试负数+180能否解决
就是 比如说英国跟法国的lon一个是正一个是负的时候,英法之间的连线就不会出来,加180不行,点跑了,请问这个该怎么解决呢?谢谢
这个可能是mapv在计算负坐标生成曲线时造成的问题,可以用直线吗?
之前这个问题(一正一负时,连不上飞线)已经解决了,现在有个新的问题,地图上面overlay多了之后,清楚overlay没有进行垃圾回收,如此操作多次之后页面会发生崩溃(手机页面居多)出现白屏的情况,请问这个能做一些优化吗?谢谢
------------------ 原始邮件 ------------------ 发件人: "后悔编程哥"<notifications@github.com>; 发送时间: 2019年11月25日(星期一) 中午1:29 收件人: "huiyan-fe/react-bmap"<react-bmap@noreply.github.com>; 抄送: "姗姗"<787938906@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [huiyan-fe/react-bmap] 飞线图问题: 当两点的lng一正一负时,连不上飞线 (#75)
这个可能是mapv在计算负坐标生成曲线时造成的问题,可以用直线吗?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
用了多少个layer?能复用的layer尽量通过修改data或者options来达成预期效果
@Junior2Ran 大佬 组件销毁的时候也用了layer.destroy() 感觉并没有作用 能不能帮看下
因为需要页面和tab切换,切换次数多的时候就会崩溃, 组件销毁的时候也用了layer.destroy() 感觉并没有作用, 能不能帮看下,谢谢
------------------ 原始邮件 ------------------ 发件人: "后悔编程哥"<notifications@github.com>; 发送时间: 2019年12月16日(星期一) 上午10:31 收件人: "huiyan-fe/react-bmap"<react-bmap@noreply.github.com>; 抄送: "姗姗"<787938906@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [huiyan-fe/react-bmap] 飞线图问题: 当两点的lng一正一负时,连不上飞线 (#75)
用了多少个layer?能复用的layer尽量通过修改data或者options来达成预期效果
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@xwg2015 @duanshanshan7
layer.destroy的bug是依赖mapv中的bug导致,现已在mapv@2.0.42
版本修复。
react-bmap也更新了mapv依赖版本,发布了react-bmap@1.0.108
,升级到最新版本即可。