On Oct 4, 11:25 am, paulp575 <[email protected]> wrote:
> On Oct 3, 12:29 pm, Rossko <[email protected]> wrote:
> > In the other thread, the advice was given as an example
> >      new GMarker(latlng, {title:"Tooltip text"})
> > in your case you have
> >      new GMarker(point)
> > as a part of one line ; to make it like the example you would use
> >      new GMarker(point, {title:"Tooltip text"}  )
>
> > A more realistic example might look like
> >      var tooltipText = "Some wordies" ;
> >      var marker = new GMarker(point, {title: tooltipText}  );
> > using normal javascript variable-substitution
>
> > Have you seen this invaluable resource?
> >  http://econym.org.uk/gmap/
> > see in particular
> >  http://econym.org.uk/gmap/tooltips.htm
>
> Yes, I am aware of Mike's excellent tutorials, but missed the Tooltips
> tutorial!
>
> Now that I have and added the appropriate line:
>
>      var marker = new GMarker(point, {title:name});
>
> to my code, I am disappointed that it uses the text in the label part
> of the marker code in the xml file.

1. last I looked, tooltips are just text (unless you implement your
own solution)
2. Whatever code creates the "name" string is on your page and you can
change it.

  -- Larry

>
> For example, my first marker includes:
>
>      label="&lt;b&gt;Ahtanum Multiple Use Area&lt;/b&gt;"
>
> which causes the tooltip to display:
>
> <b>Ahtanum Multiple Use Are</b>
>
> and doesn't display in bold.
>
> That is partially a good thing as I don't need to tooltips in bold!
> But I do want the tooltips to display.
>
> Here's the map with the tooltip code included:
>
>      http://www.wohva-map-catalog.org/index-TT.htm
>
> I'm wondering if there's a way to create a style solely for the
> tooltip?
>
> Thanks,
>
> Paul- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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