> marker.openInfoWindowHtml(map.getCenter(), getCompName(i), opts
> (suppressMapPan:true;))

Not quite like that.  Is 'marker' a GMarker object?  It doesn't need
to be given a location of where to open the infowindow, it opens it on
the marker.  This is not the same as a map.openInfoWindow...

So, more like
   marker.openInfoWindowHtml(getCompName(i),
{ suppressMapPan:true } );
notice the curly brackets

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