[OpenLayers-Users] GML Format and IE7

Manuel Albela Miranda manuel.albela at gmail.com
Mon Aug 24 04:00:28 EDT 2009


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, <bartvde at osgis.nl> 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
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090824/c89e931e/attachment.html


More information about the Users mailing list