Wasn't it Peter who wrote: > >On Nov 8, 12:02 am, Mike Williams <[EMAIL PROTECTED]> wrote: >> The API doesn't store information about where your were looking the >> previous time that you used the page. When you open the page it simply >> follows the instructions in your map.setCenter() command again. >> >> If you want the map state to be remembered, then you've got to store >> that information somewhere. Like this: >> >> http://econym.org.uk/gmap/cookies.htm >> >> --http://econym.org.uk/gmap >> The Blackpool Community Church Javascript Team > >So every click of a thumbnail will update the cookie,
I don't know what you mean by "thumbnail", but if clicking on one exits your map page, then you need to set the cookie. > and following >the history.go(-n) I need to read the cookie and map.setcenter(). >I suppose it is time to make cookies then :) >and if cookies are turned off, does it get more complicated? If cookies are turned off, then it's probably impossible. You could store the map state information on your server, but then you need to have some way to recognise when the same user re-opens your page in order to pull back the information that belongs to that user. The only way I know to accurately recognise a user is to set a cookie. Guessing user identity from their IP address won't distinguish between people on ISPs that have shared IP addresses. -- 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 -~----------~----~----~----~------~----~------~--~---
