I have been struggling implementing the directions-advanced.html example code into a .Net page within an application. Trying to help someone convert an ASP commerce application into a .net one without knowing .Net and trying to add mapping directions to the store functionality. Only changes to the code has been to set a default 'To' value in the form and that same To address as the From and To locations in the Initialize function. Initialize fires as I get a map based upon those values. Problem appears that clicking on the Get Directions button does not pick up or pass or trigger the SetDirections function as the map and form reflects just that of the OnLoad result (no value in the From form field and map being the initial location). The application scripting customization provides for page header coding and content. I have placed all the Javascripting and the Body OnLoad and Unload function tags in the page header section with the Form and map display sections in the Content section.
I have a feeling this is a problem where the form is considered a nested form in .Net which I have heard doesn't work. Like I said, everything seems to work with exception of the forms submit. If I set a drivable from and to set of addresses into to SetDirections function embedded within the Initialize function, I get a nicely rendered map and directions - just can't submit the values via the form. Anyone give ideas as to where I might need to make changes for look at where someone has done this in .Net? ron --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
