Well openInfoWindow() does the trick.  I have to repass in the markers
Html content though, which i'm not sure I understand as I've already
called bindInfoWindow() with the html for the marker.. but it's
working now..

Thanks for confirming anyway that MapMouseEvent is not available as
that is what I was wasting time with trying to get working...



On Nov 12, 5:07 pm, Dave Brown <[email protected]> wrote:
> I was googling for ways to trigger opening a markers infowindow
> without having to click on the marker itself ( in my case a list ) and
> that seemed to be a suggested method using the dispatchEvent method.
> As follows:
>
> marker.dispatchEvent(new MapMouseEvent(MapMouseEvent.CLICK,
>        marker,marker.getLatLng(), true, false));
>
> Hmmm looks like i've chasing a wild goose so to speak...
>
> On Nov 12, 5:04 pm, Andrew Leach <[email protected]>
> wrote:
>
> > On Nov 12, 4:42 pm, Dave Brown <[email protected]> wrote:
>
> > > I'm trying to utilise the MapMouseEvent to trigger showing a markers
> > > InfoWindow however I'm getting a MapMouseEvent is undefined error and
> > > cannot see any mention of it in the api scripts.
>
> > > Does anyone know if this still exists or if it has to be referenced
> > > somehow first before use?
>
> > MapMouseEvent isn't part of the API (and never has been), so yes I
> > suppose it will need to be defined before it's used. Where did you
> > find it?
>
> > 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=.


Reply via email to