Hey Bart,<br><br>I suppose you mean:<br><br>format: new OpenLayers.Format.GML(),<br><br>but doesn'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"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></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>
> Hi everybody!,<br>
><br>
> I'm having one error when displaying a layer in OpenLayers (I'm using the<br>
> current svn version with mapserver). I have this configuration for my<br>
> layer:<br>
><br>
> transparent: true,<br>
> format: OpenLayers.Format.GML,<br>
> formatOptions: {<br>
> "default": style,<br>
> "select": {<br>
> fillColor: "#8aeeef",<br>
> strokeColor: "#32a8a9"<br>
> }<br>
><br>
> The problem is that when I plot this layer over my map, in IE7 i get a<br>
> "this.format is null or not an object" error, (i can see it in firebug<br>
> too).<br>
> In firefox the format is ok, but in IE7 all the colors of the layer are<br>
> black.<br>
><br>
> Any thoughts about this?<br>
><br>
> Thank you very much in advance.<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
><br>
<br>
<br>
</blockquote></div><br>