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

  • Home
  • SEARCH
  • 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 971225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:55:44+00:00 2026-05-16T02:55:44+00:00

I want to draw a route in google map with desites A & B

  • 0

I want to draw a route in google map with desites A & B directions
specidied,I am able to do this through google directs ,thanks to
goole..No i want to create a static map with only that route and hence
i need to get all the latitude and longitude details into CSV for 100M
distance of this route.

Is there any possible way as currently i need to place a marker at
every distance and copy the co-ordinates manually from map which is
very tedious when i need to do this from 100KM + ,

Any help provided is truely appreciated.

  • 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-16T02:55:45+00:00Added an answer on May 16, 2026 at 2:55 am

    If you are getting the directions via the Javascript directions API, the following can all be done programmatically, but I am assuming you are getting your directions from the maps.google.com page? If so then you can get the KML associated with the directions response via My Maps.

    After you make your directions request you need to go to the bottom of the text directions and select Save to My Maps. This will add the directions to your My Maps page (assuming you are logged into a google account). Go to My Maps and select the entry you just added. Click the edit button on the left. This will expose a View in Google Earth link on the top right of the map. Clicking this link will download a file that looks like this:

    <?xml version="1.0" encoding="UTF-8"?>    
    <kml xmlns="http://earth.google.com/kml/2.2">
    <Document>
    <name>Directions to Scone, NSW</name>
    <description><![CDATA[]]></description>
        <NetworkLink>
        <name>Directions to Scone, NSW</name>
        <Link>
        <href>http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;vps=1&amp;jsv=262a&amp;oe=UTF8&amp;msa=0&amp;msid=109115301202341389527.00048cf92603b4141b1cf&amp;output=kml</href>
        </Link>
        </NetworkLink>
    </Document>
    </kml>
    

    Replace all the escaped &amp; with & in the URL in the href element and request the URL in the browser. This will give you the KML that you are after:

    http://maps.google.com/maps/ms?ie=UTF8&hl=en&vps=1&jsv=262a&oe=UTF8&msa=0&msid=109115301202341389527.00048cf92603b4141b1cf&output=kml
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to draw route in map, for this I am storing latitude and
I want to be able to draw routes on a web-based Google Map. I
I want to draw a route on google map with the change in my
When we search route through Google Map web site, like this route: http://goo.gl/maps/2mg8 Google
I want to draw a route between two locations on the map. Something like
I want to draw a path between two cities on a google static map
I want to draw this in my view to draw this line, I have
I want to draw a custom TabControl with custom functionality. To do this, i
I want to make user able to draw routes and areas on static images
In my Rails 3 application, I want to be able to route to the

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.