route-bounder
v1.0.1
Published
Create bounds between a polyline / set of waypoints. Useful for searching for places along a route.
Downloads
3
Maintainers
Readme
Route Bounder
For creating "find along my route" tools
Usage
npm i route-bounder
const bounds = createRouteBlocker(waypoints, resolution, distance)
wherewaypoints
is an array of coordinates ({latitude, longitude}
)- Use your favorite API for finding places of interest along a route with given the array of bounds
{ north, east, south, west }