Problem solved. Can now dynamically change the Marker Label CSS class properties, i.e., label width, color, font, font-size, etc.
On Aug 14, 7:16 am, Buster <[email protected]> wrote: > www.gmapsapi.net/test > > I also tried setting the CSS to ID to #div1, .labels { ... } > using > var elem = document.getElementById("div1"); > as well as trying > var elem = document.getElementsByClassName("labels"); > > Thanks for any assistance. > > On Aug 14, 2:22 am, ProbablyMike <[email protected]> wrote: > > > > > > > > > From you code snippet it's impossible to say if you have an element with > > the ID of labels, which is what you are looking for in the changeWidth > > function. > > > You are setting a CLASS for the "labelClass" on the marker, maybe the ID is > > set elsewhere? > > Please provide a link to your page. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
