Thanks Mike - the setClass method works like a champ.  You're right,
it's much more useful and general changing the class since it allows
one to change anything about the label.
Will you consider making this enhancement part of the elabel.js class
when downloaded?  If not I will need to remember to add the extra
function in if I ever lose my copy and need to download again :-)

On Sep 11, 5:50 pm, Mike Williams <[email protected]> wrote:
> A more general mechanism for making style changes to ELabel contents
> would be to set up a second CSS class and do this:
>
>     ELabel.prototype.setClass = function(newClass) {
>       this.div_.firstChild.setAttribute("class",newClass);
>       this.redraw(true);
>     }
>
> --
> Mike Williamshttp://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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