> I'm developing a facebook app thath use google maps.
>
> I want to insert a profile-pic inside a infowindow on a marker.
...
> html='<div
> id="infohtml"><fb:profile-pic uid="123456789"></
> fb:profile-pic></div>';
> marker.openInfoWindowHtml(html);
I've no idea how fbhtml actually works, but guess some fb code might
scan your page looking for tags like <fb:profile> and transforming
them into ordinary html for the browser to render. Can't tell because
you have failed to give a link to your example page -
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
That pre-scan method won't work with an infowindow, since the
infowindow contents don't actually exist in the DOM until the
infowindow has been opened by the API.
If that is the case, you could search this forum to see what tricks
are used to fool other apps that work by scanning the page, such as
Lightbox. You might for instance create your content in a hidden div,
and when the infowindow is needed fill it with a visible copy of that
hidden div.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---