You are here

Mapbox Navigation Monitoring Javascript SDK by Mapbox Comments

This Javaxript SDK is a utility for monitoring a user location in relation to a route, given a users location and route. It calculates the closest step to the user and returns an object that contains three keys that include; step, distance and snapToLocation. The Mapbox Directions API shows you how to get where you're going by calculating optimal driving, walking, and cycling routes, producing turn-by-turn instructions and routes with up to 25 coordinates anywhere on earth. Mapbox is an open source mapping platform for developers.