How to render the map in my webpage

I’ve been using the ORS API from yesterday… I can access API without any problem. I used Matrix API for distances and duration. Now I want to use Directions API to get the route between multiple points. Nothing wrong with the API call, I can get the result. I just want someone to guide me on how to render the response as a map in my webpage. Is it possible to do that? Just like it does in API playground?

Hi @Sudhanwa23,

you can use a JS library for maps like leaflet or openlayers for that.
Best take a look at their documentation or take a look at the source code of our clients for examples.

best regards

1 Like

Hey, thank you so much for replying! Leaflet just might be what I was looking for! Thank you