On Sep 11, 10:50 am, 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);
> }
I think there is a typo. Shouldn't it be "className" instead of
"class".
...setAttribute("className",newClass);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---