Reputation: 9561
Using Google maps on android, I have a location, and around 1000+ markers on a mapview. I need to identify which markers fall within a radius of a location. So, far it seems brute force search is used and a typical answer looks like this. But this is not efficient when there are a lot of markers.
My search of the Google maps API for android has not revealed an sdk method that performs an efficient search of list of markers, and returns a subset of markers that fits within a radius... Does Google maps sdk support this type of query ? If not, is a brute force search the only option ? And if brute force is only possible, what would be the most efficient implementation.
Upvotes: 0
Views: 159