I have a doubt regarding integrating Google API.
I am planning on developing an app which has a specific requirement. For example, if I am fixing a route from point A to point B, I need my map to display specific points of interest throughout every point of my road route within a radius of 3 or 4 km.
I have attached a rough image below to clarify my description:
As you can see the red spots are the service or point of interest that is meant to be recognized by the user if he is commuting through a chosen route, and only if the point of interest’s viability radius touches the viability radius (yellow region) of the commuter’s / traveller’s route.
So I need help to get me started on how to implement this concept of establishing a a viability radius i.e. area of utility, which is applicable for both the route region and the service point regions (the red spot is the point and the circle is its radius).
The radius has to be regular, a fixed radius of say 2km or 1km is acceptable.
Anyone out there, who can suggest how to go about with this?
*Anyone who can give me a proper way out is getting a reward from our end for sure!
I want to know how to achieve this , no asking about the code only suggestion needed how to fetch all the places inside a specific radius of the route that i have posted.