[OpenLayers-Users] JavaScript error: bounds has no properties

Arjen de Korte arjendk at gmx.net
Tue Jun 5 08:16:32 EDT 2007


On Tue, 5 Jun 2007 07:34:24 -0400, "Christopher Schmidt"
<crschmidt at metacarta.com> said:
> 'transparent':true causes the layer to not be a base layer.

That sounds very logical really! :-)

The example you gave works, thanks!

Best regards,
Arjen.



On Tue, 5 Jun 2007 07:34:24 -0400, "Christopher Schmidt"
<crschmidt at metacarta.com> said:
> If you change the configuration like so:
> 
>  layer = new OpenLayers.Layer.WMS( "VMap0",
>  "http://localhost/mapserver/mapserv.exe?map=c:/Inetpub/test/demo.map&",
>  { layers: 'water',
>    srs: 'EPSG:28992',
>    format: 'image/png',
>    transparent: true  // This causes the "bounds has no properties" JS
>    error!
>  }, {isBaseLayer: true} );
> 
> It should work in the same way. If it doesn't, please send HTML of a
> failing example to the list.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> 



More information about the Users mailing list