Hey Bart,<br><br>I suppose you mean:<br><br>format: new OpenLayers.Format.GML(),<br><br>but doesn&#39;t work neither.<br><br>Thank you for your help<br><br>Manu.<br><br><div class="gmail_quote">On Mon, Aug 24, 2009 at 9:28 AM,  <span dir="ltr">&lt;<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
try:<br>
<br>
format: OpenLayers.Format.GML(),<br>
<br>
Best regards,<br>
Bart<br>
<div><div></div><div class="h5"><br>
&gt; Hi everybody!,<br>
&gt;<br>
&gt; I&#39;m having one error when displaying a layer in OpenLayers (I&#39;m using the<br>
&gt; current svn version with mapserver). I have this configuration for my<br>
&gt; layer:<br>
&gt;<br>
&gt;   transparent: true,<br>
&gt;   format: OpenLayers.Format.GML,<br>
&gt;   formatOptions: {<br>
&gt;         &quot;default&quot;: style,<br>
&gt;         &quot;select&quot;: {<br>
&gt;             fillColor: &quot;#8aeeef&quot;,<br>
&gt;             strokeColor: &quot;#32a8a9&quot;<br>
&gt;   }<br>
&gt;<br>
&gt; The problem is that when I plot this layer over my map, in IE7 i get a<br>
&gt; &quot;this.format is null or not an object&quot; error, (i can see it in firebug<br>
&gt; too).<br>
&gt; In firefox the format is ok, but in IE7 all the colors of the layer are<br>
&gt; black.<br>
&gt;<br>
&gt; Any thoughts about this?<br>
&gt;<br>
&gt; Thank you very much in advance.<br>
</div></div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
</blockquote></div><br>