This might help, http://econym.org.uk/gmap/cookies.htm

On Jan 7, 9:18 am, user_corrupt <[email protected]> wrote:
> I am a beginner programmer who is attempting to create a session
> variable that will store all map-state information, every time that a
> user refreshes the browser.
>
> So far I have "(window,'unload',function(){alert('You unloaded the
> page!');});" running inside of:http://pivcec.dyndns.org/geowiki/map/map.html,
> and I am just trying to figure out how to make a "JSONP" or
> "XMLHttpRequest" that will collect all map-state information, and then
> send it to a "variable.php" file (inside the same folder as
> "map.html").
>
> I have been advised to check Google Maps API docs for ".getCenter()",
> ".getZoom()", and ".getCurrentMapType()" methods, and also the
> Javascript function "encodeURIComponent, but the problem is that I
> really do not know what I am doing.
>
> Can someone please help me with this step, so that I can then set
> about figuring out all of the other steps in the chain that will get
> this information into a variable, and then back into my browser every
> time that the user refreshes the page?
>
> If I can accomplish all of this, then I will also write a tutorial for
> other neophytes, because I think that this is a very handy function
> for Google-Maps.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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