On Nov 1, 12:10 pm, rohit malhotra <[email protected]> wrote:
> Hi,
> I am trying to create a map app using google maps API. My aim is to get some
> locations as input from the user (as string of addresses like "Mountain
> view, CA"... etc), store those strings in an array and then use that array
> as an input to a function that can in an iterative manner calculate the
> driving distance between every pair of address in the array and store those
> distances in a new 2-D array where ,
> dist[i][j] = driving distance b/w i and j
> dist[i][j] = 0 for i = j
> dist[i][j] = dist [j][i]
> while searching for solutions to the problem I did come across some
> potential solutions like 
> -http://briancray.com/2009/06/23/calculate-driving-distance-google-map...
> the solution provided here calculates the driving distance between any
> 2
> addresses that are entered by the user in 2 separate forms. My question is
> how can I sort of automate this process while using an array as the input?
> I am attaching a file containing the code I have so far.

Please don't do that.  Post a link to your map.  If it isn't online,
get some free hosting and put it there.  If it will _never_ be online,
you are violating the terms of use.

http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines

http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical

  -- Larry


> It just takes as input an address and puts a marker on that location &
> prints all the points that the user has marked so far.
>
> --
> Rohit Malhotra
> Undergraduate Student
> Bachelor of engineering (Information Technology)
> Netaji Subhas Institute of Technology
> University of Delhi, Dwarka sect-3
> Delhi, India
>
>  MyMap.html
> 2KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to