I want to find out if I can incorporate distance calculation in a React Native app

I’m currently developing an app that will require calculating the distances between bookings to optimise travel and I’m wondering if this is possible with the Javascript API or if there is a REST api that I can use instead?

Hi @Spacejocks,

the openrouteservice-js package is just a wrapper around the official openrouteservice API. It might be easier for you to use that, but if you want full control just build, send and handle them yourself :slight_smile: .
Check out the documentation to see if it fits your needs.
This is not a REST api though, you need to persist responses on your end.

Best regards