Hi Eric, Piero, et. al., On Sat, Sep 18, 2010 at 7:46 AM, Eric Lemoine <[email protected]> wrote: > 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. >
I got the Image layer working. It was a coordinate issue, but I got that resolved. I am now facing a different problem. My images are GIFs with a transparent color (white is transparent in the images). However, in OL they render as white color, so the layers beneath the image are not visible. I can set opacity, but that makes the entire layer transparent, rather than just the specific color. Is this expected? > 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 > -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science ======================================================================= _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
