Use this instead...
marker.openInfoWindow(new InfoWindowOptions({contentHTML: Html address}));
On Wed, May 6, 2009 at 2:09 PM, xhe <[email protected]> wrote:
>
> I checked Google Map Falsh documents but unfortunately, can not find
> way to open htmlinfo window
>
> This is what I did:
>
> var marker:Marker = new Marker(latlng);
> map.clearOverlays();
> map.addOverlay(marker);
> marker.openInfoWindow(new InfoWindowOptions({content: address}));
>
>
> Here, the address variable is String type which include html tag. The
> tag is displayed as is. I know in javascript google map api, there is
> ownInfoWindowHTML, but in flash version, I can not find this method.
>
> So can anyone be kind enough to tell me how to display html contents
> in the map infowindow?
>
> Thanks.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" 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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---