Select Pushpins Along a Route Sample
This sample shows how to use the Spatial Math and Directions module to calculate which pushpins are within 1 mile of a route.