Hey Bart,

I suppose you mean:

format: new OpenLayers.Format.GML(),

but doesn't work neither.

Thank you for your help

Manu.

On Mon, Aug 24, 2009 at 9:28 AM, <[email protected]> wrote:

> Hi,
>
> try:
>
> format: OpenLayers.Format.GML(),
>
> Best regards,
> Bart
>
> > Hi everybody!,
> >
> > I'm having one error when displaying a layer in OpenLayers (I'm using the
> > current svn version with mapserver). I have this configuration for my
> > layer:
> >
> >   transparent: true,
> >   format: OpenLayers.Format.GML,
> >   formatOptions: {
> >         "default": style,
> >         "select": {
> >             fillColor: "#8aeeef",
> >             strokeColor: "#32a8a9"
> >   }
> >
> > The problem is that when I plot this layer over my map, in IE7 i get a
> > "this.format is null or not an object" error, (i can see it in firebug
> > too).
> > In firefox the format is ok, but in IE7 all the colors of the layer are
> > black.
> >
> > Any thoughts about this?
> >
> > Thank you very much in advance.
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://openlayers.org/mailman/listinfo/users
> >
>
>
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to