How to get all visible markers on current zoom level

前端 未结 6 1788
情深已故
情深已故 2020-12-04 08:05

Here are some points:

  1. I have some markers on the map and records associated with it on the right panel besides the map. They are connected via numeric id, whic
6条回答
  •  独厮守ぢ
    2020-12-04 08:30

    Use GMap2.getBounds() to find the bounding box. The use GLatLngBounds.containsLatLng() to check each marker to see if it is visible.

提交回复
热议问题