Finding a latitude and longitude on a circle drawn with a specific radius on google maps
Posted on 2009-02-21
I am working in a project where I will pick a point on google map by clicking somewhere on the map and draw a circle with a radius, say 1 mile. So a later if a user enters some latitude and longitude, I will have to say whether it falls within the circle or not. I am trying to do this with google maps api. I am not able to focus on any logic in particular. My problem is finding if the given coodinate or latitude or longitude is within the circle or not. I am unable to think of anything that will help. Thank you for your time.