1. It refreshes the map because you tell it to on this line: <form name="form1" method="post" action="Adlocation1.aspx" id="form1">
If you don't want the map refreshed, don't do that. Use GDownloadUrl to send the data to a separate server to be saved. 2. Is it possible that when your ASPX code is passed it generates Javascript that looks something like this: location = new GLatLng(lat,lng); The browser thinks that you're talking about window.location, and interprets the string representation of that as a URL to jump to. Try using a variable name that's not a reserved word. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
