[OpenLayers-Dev] Rework of Google layer leads to map div transparency

Denis Rykov rykovd at gmail.com
Fri Dec 7 16:36:21 PST 2012


Andreas, .olForeignContainer works for me!
Thanks.

On Sat, Dec 8, 2012 at 6:57 AM, Andreas Hocevar <ahocevar at opengeo.org>wrote:

> Hey Denis,
>
> try to set the <!DOCTYPE html> doctype in your document, instead of
> using a HTML4 doctype. If that doesn't work, you have to set the
> following css:
>
> .olForeignContainer { opacity: 1 !important; }
>
> Let us know which one works for you.
>
> Thanks,
> Andreas.
>
> On Fri, Dec 7, 2012 at 4:34 PM, Denis Rykov <rykovd at gmail.com> wrote:
> > Hi, Bart!
> >
> > Sorry I can't provide minimal example, but my code is very simple.
> > Please take a look: http://tinyurl.com/cgblaad
> >
> >
> > On Fri, Dec 7, 2012 at 4:08 PM, Bart van den Eijnden <
> bartvde at opengeo.org>
> > wrote:
> >>
> >> Can you show us a minimal example to reproduce?
> >>
> >> Best regards,
> >> Bart
> >>
> >> --
> >> Bart van den Eijnden
> >> OpenGeo - http://opengeo.org
> >> Expert service straight from the developers.
> >>
> >>
> >>
> >> On Dec 7, 2012, at 3:35 AM, Denis Rykov <rykovd at gmail.com> wrote:
> >>
> >> After recent rework of Google layer - in my application transparency of
> >> all elements of map div (including wms layers, pan-zoom buttons) becomes
> >> about 50%. Switching back from dev/OpenLayers.js to api/OpenLAyers.js
> solves
> >> the problem. _______________________________________________
> >> Dev mailing list
> >> Dev at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
> >>
> >>
> >
> >
> > _______________________________________________
> > Dev mailing list
> > Dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/openlayers-dev
> >
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20121208/bcb04833/attachment.html>


More information about the Dev mailing list