-
Notifications
You must be signed in to change notification settings - Fork 19.8k
echarts bmap当在地图标点时,每隔30秒就刷新一次数据引发地图重新渲染 #12639
Copy link
Copy link
Closed
Labels
pendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.waiting-for: author
Description
What problem does this feature solve?
问题:
charts与百度地图共同使用,当程序像echats传输动态更新数据的时候(每隔30秒传一次,甚至是更短时间),当数据更新了,地图也会更新,而且加载时会有空白显示,如果间隔时间更短的话,基本上地图是一直闪烁的状态。
解决的问题:
1.当数据变化,但是地图没有变动的时候,可以避免重复渲染,提升运行效率
2.更好的体验效果,因为主要是看地图上的数据,而不是地图本身,所以当地图始终是渲染同一个地方时或者是固定只显示一个地方时,只刷新数据而不刷新地图是很有必要的,因为地图重新加载会使屏幕先变白,然后开始加载,对于深色主题的展示非常不友好
3.提升运行效率,因为echarts如果变多或者是数据量非常大的时候,就会出现卡顿问题,重复的东西不渲染,那么可以大大的提升效率
What does the proposed API look like?
只是想问问怎么能实现上面的内容,因为怎么查都查不到,实际业务还需要
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.waiting-for: author
Type
Fields
Give feedbackNo fields configured for issues without a type.