> Thanks for the example...but I know how to show infowindows with a
> regular map that's not using marker manager

Then do just that, and then add MarkerManager to it.

> But I still don't know how to implement the infowindow using marker
> manager...thanks for any help!

MarkerManager does what it says on the tin, it manages markers.  It
knows nothing about infowindows, nor does it need to.  Do not modify
MarkerManager code to try and add infowindows, you don't need to do
that.

The objects you pass to MarkerManager are plain ordinary markers.  You
can attach listeners to them, e.g. for click.  You can have those
listeners do whatever you want e.g. opening infowindows.  You don't
need to do anything special about infowindows to have them working
with MarkerManager.

I suspect the reason you are struggling to get your code working like
the examples available is because of the odd structure you've chosen.
You've got your createMarker() function making several markers at each
call.
It's your code and you can do what you like, but compare it to the
examples e.g. the XML example uses a createMarker() function that
creates just one marker and returns it to the caller.  The caller, in
this case the XML parsing section, is the part that does loops to get
multiple markers etc.   The advantage of using a one-marker function,
whatever you decide to call it, is that it becomes easier to get
closure on infowindow contents.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to