The RouteBoxer class generates a set of L.LatLngBounds objects that are
guaranteed to cover every point within a specified distance of a path,
such as that generated for a route by an OSRM directions service.
Documentation
powered by Nearest!