How to draw lots of markers on a map

自闭症网瘾萝莉.ら 提交于 2019-12-06 07:34:41

There is a limit to the number of overlay items that MapView can handle. There is no official word on what this limit is, but after some while, you will see sluggish behaviour during zoom/pan.

Some solutions are :

  • LazyLoading of MapView
  • Load only as many markers that are visible, do this based on the zoom level and span.
  • 10 overlays with 99 points are faster than 1 overlay with 900 points.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!