<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">I have a problem using an empty base
layer with a google layer. They are defined like this</font>
<br><font size=2 face="sans-serif">var googleH = new OpenLayers.Layer.Google(
"Google Hybrid", { type: G_HYBRID_MAP, 'sphericalMercator': true}
);</font>
<br><font size=2 face="sans-serif">var aucunContexte = new OpenLayers.Layer("AucunContexte",{isBaseLayer:
true});</font>
<br>
<br><font size=2 face="sans-serif">I have an overlay layer</font>
<br><font size=2 face="sans-serif">var overlay = new OpenLayers.Layer.WMS('RSS',
'http://geo.inspq.rtss.qc.ca/cgi-bin/mapserv.exe?map=MAPCA&',{layers:
'RSS', transparent: "true", format:"image/gif"},{isBaseLayer:
false, visibility: true,singleTile:true});</font>
<br>
<br><font size=2 face="sans-serif">When the empty layer and the overlay
layer are visible by default when the application opens, everyting is fine.
But if I switch to the google hybrid layer, I see only one tile at the
upper left corner</font>
<br><font size=2 face="sans-serif">But, if the applications loads with
the hybrid and overlay layer visible, this problem does not occur. i can
switch to the empty layer without problem.</font>
<br>
<br><font size=2 face="sans-serif">I also tried with this, but the result
is the same.</font>
<br><font size=2 face="sans-serif">var aucunContexte = new OpenLayers.Layer("AucunContexte",{isBaseLayer:
true, maxResolution: 156543.0339, maxExtent: new OpenLayers.Bounds(-20037508.34,
-20037508.34, 20037508.34, 20037508.34)});</font>
<br>
<br><font size=2 face="sans-serif">Here is the mapOptions</font>
<br><font size=2 face="sans-serif"> var mapOptions = {</font>
<br><font size=2 face="sans-serif"> projection: "EPSG:900913",</font>
<br><font size=2 face="sans-serif">displayProjection: new OpenLayers.Projection("EPSG:4326"),
//Pour afficher les coord lat long</font>
<br><font size=2 face="sans-serif"> units: "m",</font>
<br><font size=2 face="sans-serif"> maxResolution: 156543.0339,</font>
<br><font size=2 face="sans-serif">maxExtent: new OpenLayers.Bounds(-20037508.34,
-20037508.34, 20037508.34, 20037508.34),</font>
<br><font size=2 face="sans-serif">controls: [],//on les définit plus loin</font>
<br><font size=2 face="sans-serif">numZoomLevels: 20</font>
<br><font size=2 face="sans-serif"> };</font>
<br>
<br><font size=2 face="sans-serif">What could be the problem?</font>
<br><font size=2 face="sans-serif">Thanks</font>
<br><font size=2 face="sans-serif">Steve</font>