[OpenLayers-Users] Re: Google + WMS

jrom jerome.gasperi at gmail.com
Fri Feb 17 10:51:16 EST 2012


Hi Ricardo,

I had the same problem long time ago when i was using Ext framework.
Are you using it ?

Regards

2012/2/17 Ricardo Bayley <ricardo.bayley at gmail.com>:
> Nobody experienced something like this ?
>
> 2012/2/6 Ricardo Bayley <ricardo.bayley at gmail.com>
>>
>> Hi folks,
>>
>> I am experiencing a serious issue. I have two base layers, a WMS layer of
>> my own (geoserver) and a google base layer.
>> After switching between them, sometimes, google layer is reduce for about
>> 1/8 th of the map div size and is position at the upper left corner.
>> I can switch back and forth between them, the WMS will fit perfect, but
>> google layer will stay 1/8th on the upper left corner.
>> To see it properly, I have to reload the page. Curious thing is that if I
>> never switch to my WMS base layer, then google wont be reduce.
>>
>> I am using gmap v2.
>>
>> Has anyone experience something like this ? Could my setup be wrong or did
>> I bumped into a bug ?
>>
>> this is my gmap config:
>>
>> gmap : new OpenLayers.Layer.Google(
>>        "Google Streets", // the default
>>        {
>>         type: G_NORMAL_MAP , // v2
>> //     type: google.maps.MapTypeId.ROADMAP, //v3
>>         sphericalMercator: true, minZoomLevel: 4, maxZoomLevel: 16
>>        }
>> )
>>
>>
>> best regards,
>>
>> Ricardo
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
http://mapshup.info


More information about the Users mailing list