Ok, Terribly sorry, my mistake, I was changing the .olControlPanel css default values of position:absolute to position:relative and also changing the margin value. I removed that, and it works fine again.
sorry ! ricardo 2012/4/19 Ricardo Bayley <[email protected]> > I tried it in ol 2.10 and 2.9 and get same result. > > I am testing on Chrome v. 18.0.1025.162 > > Again, in Internet Explorer and FireFox this is not a problem. Chrome and > Opera are having this trouble. > > FYI: The panel is not deleted, it seems it's beneath the map. > If I set the css top value to 0, then it is shown. > > > Did you try it on your own browser ? > Any ideas of what is happening ? > > > warm regards, > > > Ricardo > > > > 2012/4/19 Ricardo Bayley <[email protected]> > >> I am using OL 2.11 >> >> What do you mean with master branch ? >> I will give it a try with previous ol versions in just a few minutes.... >> >> ricardo >> >> 2012/4/19 Eric Lemoine <[email protected]> >> >>> >>> >>> On Thursday, April 19, 2012, Ricardo Bayley wrote: >>> >>>> Hi folks, >>>> >>>> I am running to what it could be a small bug. >>>> >>>> I have a OpenLayers.Control.Panel to which I add 4 buttons that >>>> alternate map baseLayer between bing and google. >>>> Every time I set the baseLayer to a google map, the Panel disappears. >>>> This behaviour only happens in Google Chrome, it even works fine in old >>>> grumpy IE6. >>>> >>>> Is this a bug or am I doing something wrong ? >>>> >>> >>> What version of OL are you using? Can you reproduce this with the >>> current master branch? >>> >>>> >>> >>> -- >>> 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
