Thank you.

Sure enough, adding a panTo and putting the click event on a 100ms
timeout delay fixed the problem.

Sorry about the double post.

--Brian

On Nov 22, 6:41 pm, "warden [Andrew Leach - Maps API Guru]"
<[EMAIL PROTECTED]> wrote:
> On Nov 18, 6:16 pm, Brian <[EMAIL PROTECTED]> wrote:
>
> > After a little more fiddling, I have found it is pretty much every
> > point on the map west of -97.2.
> > The easiest way to find the error is to just click search with the box
> > empty and the try a few points from the list, "Assiniboine Park" near
> > the top is one of the ones that won't work.
>
> Clicking "Assiniboine Park" attempts to open the infowindow on markers
> [12]. *But* you are using the marker manager, which only adds markers
> to the map as they are needed. You can't open an infowindow on a
> marker which isn't actually there.
>
> You may find that it works if you panTo the marker location before
> opening the infowindow, although you may also need to use a timeout to
> delay opening the infowindow in order that the API has enough time to
> add the marker.
>
> [vanstaub: As you haven't provided a link, it's not easy to say
> whether your problem is the same. It might be if your selections are
> moving the map around and causing the marker manager to add the marker
> which originally failed.]
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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