How to load markers dynamically for current position in Android google-maps?

前端 未结 4 1515
野性不改
野性不改 2021-02-04 20:39

I\'m currently developing an app for Android which uses google map service. Because users will be able to see thousands of markers I would like to load only those which are curr

4条回答
  •  既然无缘
    2021-02-04 21:19

    You could use getMapCenter and just add or subtract the latitude span or longitude span (divided by 2 of course) to find the bounds.

提交回复
热议问题