Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 623075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:03:12+00:00 2026-05-13T19:03:12+00:00

I originally asked this question on Super User but was told that it might

  • 0

I originally asked this question on Super User but was told that it might be better placed here…

I have a running blog and to help me track and write about my runs I’ve recently bought a Garmin GPS watch. The setup works a treat and I’m able to share links to my runs in my blog such as:

http://connect.garmin.com/activity/23842182

Is there an easy way for me to capture the map itself out of the Garmin Connect site (see the link) and display it in my blog posting? I can take a screenshot but an interactive map would be heaps better. It’s obviously a Google Map with the run info overlayed so there must be a way… right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:03:12+00:00Added an answer on May 13, 2026 at 7:03 pm

    To created an embedded interactive Google Map to render your run polylines, you will need to extract the data that the Garmin site is using to render the line.

    From the Garmin site, there are two Javascript files that do the work:

    http://connect.garmin.com/resource/garmin-js-lib/map/MapsUtil.js – Bunch of utility functions for rendering Google maps based on data in the Garmin system
    http://connect.garmin.com/api/activity/component/mapLoader.js – Uses Garmin.service.ActivityClient to grab the JSON data describing the polyline. It feeds this data into Garmin.map.MapsUtil.addEncodedPolylineToMap to render the map.

    So do do this on your blog, you will need to either request the JSON data from the Garmin site (and trust that the URI format doesn’t change) or grab the data and store it on your own site. The URI format is currently:

    http://connect.garmin.com/proxy/activity-service-1.0/gpolyline/activity/<activity id>?full=true
    

    Where activity ID is the last number in your original URL. So:

    http://connect.garmin.com/activity/23842182
    http://connect.garmin.com/proxy/activity-service-1.0/gpolyline/activity/23842182?full=true
    

    This data request will return some JSON that you can then use to render a Google Map.

    Once you have decided how you want to store the JSON data, you will need to write some Javascript to request the JSON and, in the callback, feed it into the GPolyline.fromEncoded method. Once you have a GPolyline object (that is populated from the encoded JSON data), you can add it to a Google Maps GMap2 with the addOverlay method.

    I realize that this answer is fairly technically involved and might be overwhelming if you haven’t played with Google Maps before. If this is the case, I suggest heading over to the Google Maps API intro page for some hints on getting started.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I originally asked this question , but in finding an answer, discovered that my
I originally asked this question on RefactorMyCode , but got no responses there... Basically
This question originally asked which is the best method for uploading files via SFTP
This question originally asked (wrongly) what does | mean in Python, when the actual
Note: Originally this question was asked for PostgreSQL, however, the answer applies to almost
I originally asked this question: Regular Expression in gVim to Remove Duplicate Domains from
I originally asked this question on programmers.stackexchange.com, because I figured the answers would be
Probably someone has already asked this question but I'm not sure what I'm looking
I've already asked this question, but I think I din't explain the problem well
This originally was a problem I ran into at work, but is now something

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.