Skip to main content
Question

Display map for real activity


Forum|alt.badge.img

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

SkippyVasquez
Strava
Forum|alt.badge.img+21

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

Hope that helps.

 


ActivityFix
Superuser
Forum|alt.badge.img+24

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings