[OpenLayers-Users] Bug in Google with overaly example

Eric Lemoine eric.lemoine at camptocamp.com
Mon Aug 17 01:57:20 EDT 2009


On Tuesday, August 11, 2009, Rodolfo Moreno <rodolfoamoreno at gmail.com> wrote:
>
> Thanks Eric for your answer. I am overlapping a mapguide layer. I did what
> you suggested but it's not working.
>
> var dynamicOverlayOptions = {
>               buffer: 1,
>               singleTile: true,
>         isBaseLayer : false,
>         visibility : true,
>         transparent:true // This is the code added
>                  };
>
> Is this property (transparent:true) new?
> I ask about it because my sample works fine 3 months ago.

transparent is a WMS param. It should go in the Layer.WMS params, not options.


>
> Thanks in advance
>
>
> Eric Lemoine-2-2 wrote:
>>
>> 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
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>
>
> -----
> Rodolfo Moreno
> CivilEng
>
> --
> View this message in context: http://n2.nabble.com/Bug-in-Google-with-overaly-example-tp3407076p3426344.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>

-- 
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