[OpenLayers-Users] Bug in Google with overaly example

Eric Lemoine eric.lemoine at camptocamp.com
Tue Aug 11 00:37:46 EDT 2009


On Sat, Aug 8, 2009 at 12:35 AM, Rodolfo Moreno<rodolfoamoreno at gmail.com> wrote:
>
> Hi all,
> The google with overlay example from "http://openlayers.org/dev/examples/"
> is working incorrectly. The bug is not only because the worldmap is not
> loaded correctly but also because this is covering whole the map and thus
> the google layer is not showed, just the worldmap is showed. if you turn off
> the worldmap layer then it's possible to view the google layer. I realized
> about it because I have a similar example overlaping google maps with
> mapguide layers and 3 months ago this sample worked appropriately (in that
> moment the last release was 2.6 version) and now I got the same bug, it
> means that mapguide layers covers whole map that don't enable to view the
> google layers.

The layer you put on top of the google layer must be transparent. If
your layer if a WMS layer (OpenLayers.Layer.WMS) use transparent:true
in the layer params.


-- 
Eric Lemoine

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

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list