Well it is unfortunate that it was posted twice, because the first time I posted it, it did not show up on the list. Not my fault there. I was unable to locate the original thread, but deleted it once you posted the link.
As for a working example, I have no example uploaded to my web server. Basically all of the Javascript posted above is what I have. The only other thing besides that is a <form runat="server"> tag, and inside of that <asp: textbox> and <asp: button OnClientClick="goDirections()">. When the button is clicked, it is supposed to run that function, however it does not work. Also, I need a new way of initializing the map, since a click of the button causes a post-back, which then resets the map. This is due to the onLoad attribute in my body tag. Can I get rid of this and create the map a different way? PHP is not a good choice for me because I do not wish to install Apache just to do local testing. Plus I like the code behind model more than inline code. On Dec 31, 11:19 am, "warden [Andrew Leach - Maps API Guru]" <[email protected]> wrote: > On Dec 31, 4:58 pm, D1gitalIce <[email protected]> wrote: > > > > > Was wondering if you would be willing to help me out a bit. > > What was wrong with your first > thread?http://groups.google.com/group/Google-Maps-API/browse_thread/thread/1... > > You might find this of > use:http://www.catb.org/%7Eesr/faqs/smart-questions.html#id308182 > > It would really help your cause if you followed the posting guidelines > and gave a link to your map web page. The API is essentially client- > side with server-side services, so to gain an insight in how the > client is interacting with *your* server as well as Google's, we need > to see it in action. > > You also need to specify what "it won't work" actually means. Error > messages? Are you testing return codes from GDirections() -- you > should be. What's the status code returned? > > Please add this information to your original thread. Most developers > here use PHP, but there are one or two ASP.NET people who might be > able to help. But code snippets rarely provide enough information [and > complete listings are mostly impossible to debug] > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
