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 &lt;<a href="mailto:euzuro@gmail.com">euzuro@gmail.com</a>&gt;:</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> &gt; feature = new OpenLayers.Feature(layer, new OpenLayers.LonLat(lng,lat),<br> <br>&gt; {popupClass:OpenLayers.Popup});<br>
 <br> <br> <br> ---e<br> <br> <br> 2008/2/25 Leandro R &lt;<a href="mailto:learonco@gmail.com">learonco@gmail.com</a>&gt;:<br> <br>&gt; Hello all !!!<br> &gt;<br> &gt; I need to change the popup class of a Feature object. I&#39;ve tried to do it as<br>
 &gt; the following, but it has not worked.<br> &gt;<br> &gt; feature = new OpenLayers.Feature(layer, new OpenLayers.LonLat(lng,lat),<br> &gt; {popupClass:&#39;OpenLayers.Popup&#39;});<br> &gt;<br> &gt; I don&#39;t want to change that from the file Feature.js.<br>
 &gt;<br> &gt; Can anyone help me?<br> &gt; Thanks<br> &gt; Leandro<br> &gt;<br> &gt;<br> <br>&gt; _______________________________________________<br> &gt; Dev mailing list<br> &gt; <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
 &gt; <a href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev</a><br> &gt;<br> &gt;<br> </blockquote></div><br>