<font>Hi folks,</font><div><font><br></font></div><div><font>I am experiencing a serious issue. I have two base layers, a WMS layer of my own (geoserver) and a google base layer.</font></div><div>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. </div>
<div>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.</div><div>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.</div>
<div><br></div><div>I am using gmap v2.</div><div><br></div><div>Has anyone experience something like this ? Could my setup be wrong or did I bumped into a bug ?</div><div><br></div><div>this is my gmap config:</div><div>
<br></div><div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>gmap : new OpenLayers.Layer.Google(</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> "Google Streets", // the default</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span> {</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> <span class="Apple-tab-span" style="white-space:pre">        </span>type: G_NORMAL_MAP ,<span class="Apple-tab-span" style="white-space:pre">        </span>// v2</div>
<div>//<span class="Apple-tab-span" style="white-space:pre">                                </span> <span class="Apple-tab-span" style="white-space:pre">        </span>type: google.maps.MapTypeId.ROADMAP,<span class="Apple-tab-span" style="white-space:pre">        </span>//v3</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span> <span class="Apple-tab-span" style="white-space:pre">        </span>sphericalMercator: true, minZoomLevel: 4, maxZoomLevel: 16</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> }</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>)</div></div><div><br></div><div><br></div><div>best regards,</div><div><br></div><div>Ricardo</div>