If you insist on refreshing the whole page, rather than just refreshing the map data, then any javascript variables from the previous incarnation of the page (like the one that remembers which marker position you want displayed) is lost. You could pass it to yourself with a cookie.
I imagine that a better solution would be to only refresh the map data, using an AJAX-like technique, in which case your Javascript variables would still be available. It's possible that I've misunderstood what you're doing. Providing a link to your page would be more helpful than trying to describe what you're doing. -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
