https://aronsommer.github.io/strava-activity-map
Example of using the Strava API with pure JavaScript to retrieve all activities of an athlete and display them on a Leaflet map.
The example is using the Leaflet open-source JavaScript library for mobile-friendly interactive maps.
And its using this plugin script to support Google's polyline encoding in Leaflet.