angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

Question: Find all the markers inside a given radius

Open SMRockend opened this issue 9 years ago • 2 comments

Is it possible to find all the markers inside a given radius, from given point ? Just wondering if this feature is available. Thanks.

SMRockend avatar Mar 01 '17 05:03 SMRockend

I have just used the DistanceMatrix API to find all suitable markers inside a given radius. I used origin co-ords and multiple destination co-ords as parameters with the request and then parse the response which includes how far each destination is away from the origin. Hope this points you in the right direction!

code-by-nate avatar Mar 07 '17 05:03 code-by-nate

Thanks mate.

SMRockend avatar Mar 07 '17 05:03 SMRockend