On Saturday, September 18, 2010, Piero Campa <[email protected]> wrote:
>
> Uhm, just to say: that "visibility: false" option maybe could be the problem.
> ?
> Maybe the layer is actually in the map, but it's not visible.
>
> Try to set the visibility of the overlay to true, orelse make use of the
> LayerSwitcher control..

The Image constructor receives 5 arguments only, so the sixth argument
(the object with the visibility property) is just ignored.

Does the map have a baselayer? The map requires one, so if the Image
layer is the sole layer it has to be a baselayer.

Cheers,


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to