Hi,

at the moment the tooltip property passed to MarkerOptions only
supports plain text. There is an open feature request for more
powerful styling support (http://code.google.com/p/gmaps-api-issues/
issues/detail?id=384). Please star this request or file a new request
if the features you'd like to see aren't covered (http://
code.google.com/p/gmaps-api-issues/issues/entry?template=Flash%20API
%20-%20Feature%20Request").

A possible workaround at the moment would be to attach listeners for
MapMouseEvent.ROLL_OVER and MapMouseEvent.ROLL_OUT and use these to
create a custom tool tip.

Alternatively, a simpler approach that appears to work, is simply not
to use the Maps API for Flash tooltip rendering at all, but instead
use:
  var m:Marker = new Marker(latLng);
  (m.foreground as UIComponent).toolTip = "my text here";
(this will work only with the Flex SWCs -- map_flex_1_xxx.swc -- but I
infer that that is what you're using).

Hope this helps,

Mike

On Aug 12, 4:03 am, "Luc Barthelet" <[email protected]> wrote:
> I am trying to show html text in a tooltip for a marker with no luck. The 
> same htmlText works in the same application on a regular flex tooltip.
>
> I see some html styles applied to the text, and the image space is kind of 
> 'reserved' but the image never loads (from a url).
>
> Searching the web I found a reference about one attempt (which mentions 
> setting an id for flash 9), but could not find the actual usage.
>
> Does anyone knows of an example of an image used in htmlText in a tooltip on 
> a google map marker?
>
> Thanks,
>
> Luc
>
> www.tirnua.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to