Defining a marker in Google Maps

I am developing a Google Maps application and I ran into this problem. I need to remove all markers that are outside the map.

Is there an easy way to do this, besides storing the array and viewing the latlng of each token?

I can not use MarkerManager because I have too many points. I do not want to use clearOverlays () because it closes any open token.

Any help would be appreciated.

+5
source share
1 answer

If you do not want to look at each marker separately, first group them into several sets and calculate the boundaries of the set.

, ( , GMap2.getBounds()).

?

. 65K.

, 65K GMarkers . 5 .

200 1/4 , , . , .

- , ​​

+4

All Articles