I'm looking for an answer on the following problem,
I've managed to retrieve all the points in a dataset that are within a certain radius from a single point. Input is longitude, latitude and radius. I'm using the Sql STDistance functionality to achieve this. Now I want to do the following, I have a route from point a to point b, and I want to retrieve all geolocation points that are on that route for a certain radius. As example, inn the screenshot I want to retrieve all black circles,and nothing else from outside the red radius. My input params are start - and endpoint, and a radius. I'm using google maps to render markers and route. I'm trying to make this work by getting the steps from dirService.route, ex. response.routes[0].legs, but the interval between the steps is to large considering the radius input. Anyone? Example