On May 17, 12:55 pm, "[email protected]" <[email protected]>
wrote:
> On May 17, 10:05 am, tasselhof <[email protected]> wrote:
>
>
>
> > Hi all, I am trying to solve one issue:
>
> > I have map, few markers on it, each marker has its info window. Those
> > windows are little bigger, so map needs to pan to display whole info
> > window. And I would like to pan map back to original position, after
> > info window is closed
>
> > I tried to play a little on Google Code playground did not got it
> > right. Everything is harder because I simply don't know how much
> > markers will be on map. To make it clear:
> > 1) I load markers from XML file (XML made by php script from my
> > database)
>
> > 2) To each marker I add listener to open info window
>
> > 3) I tried to enhance my createmarker() function to one more listener,
> > did not work
>
> > really even if I go by function alert("Hello, world!") nothing
> > happens!
>
> > 4) So I changed object of listener to my map:
>
> > This worked
>
> > 5) Now, I am trying to figure out, how to recognize where the map
> > should pan to. Thinking about event "infowindowbeforeclose" and
> > getInfoWindow but can't figure it out
> > Any help?
>
> To make it even clearer, please post a link to your map.
>
> http://groups.google.com/group/Google-Maps-API/web/suggested-posting-...
>
> http://groups.google.com/group/Google-Maps-API/web/why-including-a-li...

Sounds a lot like this:
http://groups.google.com/group/Google-Maps-API/browse_frm/thread/53f7cf114ff3f9d8#


--~--~---------~--~----~------------~-------~--~----~
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