Start:
End:
Buffer:
1

Filter Data Along Route

This sample shows how to take a route line and calculate a buffer around it and then filter a set of point data to find those that are within the buffer. This sample uses the open source Turf.js library to for some of the spatial calculation.