[OpenLayers-Users] GML Format and IE7

bartvde at osgis.nl bartvde at osgis.nl
Mon Aug 24 03:28:21 EDT 2009


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
>





More information about the Users mailing list