Hi<br>Thanks for your quick answer, but I had already tried that and did not work.<br>What else could be?<br>Thanks<br><br><br><div><span class="gmail_quote">2008/2/25, Erik Uzureau <<a href="mailto:euzuro@gmail.com">euzuro@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think the problem here is that you are specifying the class in<br> quotes as a string.<br> It should just be:<br> <br><br> > feature = new OpenLayers.Feature(layer, new OpenLayers.LonLat(lng,lat),<br> <br>> {popupClass:OpenLayers.Popup});<br>
<br> <br> <br> ---e<br> <br> <br> 2008/2/25 Leandro R <<a href="mailto:learonco@gmail.com">learonco@gmail.com</a>>:<br> <br>> Hello all !!!<br> ><br> > I need to change the popup class of a Feature object. I've tried to do it as<br>
> the following, but it has not worked.<br> ><br> > feature = new OpenLayers.Feature(layer, new OpenLayers.LonLat(lng,lat),<br> > {popupClass:'OpenLayers.Popup'});<br> ><br> > I don't want to change that from the file Feature.js.<br>
><br> > Can anyone help me?<br> > Thanks<br> > Leandro<br> ><br> ><br> <br>> _______________________________________________<br> > Dev mailing list<br> > <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev</a><br> ><br> ><br> </blockquote></div><br>