Skip to main content

Hi Developers,

        I am want to show static image for the path of the activity done by strava users. Through strava api I get two polylines one is for summary and other is complete. Now how can I show the path using mapbox as I have used static map api but not working. Is there anything regarding the URL encoding or decoding? If anyone has proper docs to generate a successfull URL then you should share here.

Thanks and Regards

Atul Sharma

imAtulSharma, thanks for the post. I think your best option is to google "polyline decoder"


Hope that helps.


 


Can you give an example of the URL you're trying to use which isn't working? There isn't really much to go on with the information you've given.

Mapbox has documentation on doing exactly what you're looking for, and shows an example of a URL which uses a polyline - https://docs.mapbox.com/api/maps/static-images/#path


Reply