Greetings.<br><div class="gmail_quote"><p style="margin-bottom:0in">We have an Open Layer map
that uses Google background layers. We overlay other WMS and a text
file with points and when the map is loaded Google Maps seems to be
slightly off to the east. When you turn on Google Satellite layer
then the map bounces back into the correct location lining up with
the overlay layers correctly. You can turn Google Streets back on and
it lines up correctly. This application was working correctly without
the offset up until around 3-4 months ago (October-November) when
this started happening. <br></p><p style="margin-bottom:0in">Any suggestions on why this may be happening?
Or points in the correct direction to fix? Below is the map.js and a link to the
website.<br><a href="http://maps.glifwc.org/manoomin.harvest.info/" target="_blank">http://data.glifwc.org/manoomin.harvest.info/</a><br><br>var
map;<br>        <br>           
function init(){<br>           
<br>               
// Define Map Controls<br><br>       
        var options = {   
               
<br>               
    maxExtent: new OpenLayers.Bounds(-20037508.34,
-20037508.34, 20037508.34, 20037508.34),<br>       
            controls:
[new OpenLayers.Control.Navigation(), new
OpenLayers.Control.PanZoomBar(), new
OpenLayers.Control.LayerSwitcher()]<br>       
        };<br><br>   
            map = new
OpenLayers.Map('map', options);<br>               
//map = new OpenLayers.Map('map');<br>       
        <br>       
        // Define Base Layers<br>   
<br>               
var gmap = new OpenLayers.Layer.Google(<br>       
            "Google
Streets", // the default<br>       
           
{numZoomLevels: 20}<br>           
    );           
    <br>           
    var gsat = new OpenLayers.Layer.Google(<br>   
               
"Google Satellite",<br>       
            {type:
google.maps.MapTypeId.SATELLITE, numZoomLevels: 22}<br>   
            );<br>   
            var ghyb =
new OpenLayers.Layer.Google(<br>       
            "Google
Hybrid",<br>           
        {type:
google.maps.MapTypeId.HYBRID, numZoomLevels: 20}<br>   
            );<br>   
            var gphy =
new OpenLayers.Layer.Google(<br>       
            "Google
Physical",<br>           
        {type:
google.maps.MapTypeId.TERRAIN}<br>       
        );<br>   
              
<br>               
// Define Overlay Layers<br>           
    <br>               
var layer = new OpenLayers.Layer.Vector("Date-regulated Manoomin
Lakes", {<br>                   
strategies: [new OpenLayers.Strategy.BBOX({resFactor:
1.1})],<br>                   
protocol: new OpenLayers.Protocol.HTTP({<br>                       
url: "points/points.txt",<br>                       
format: new OpenLayers.Format.Text()<br>                   
})<br>               
});<br>               
//Projection = WGS84 (4326) <br>       
        <br>       
        var manoomin = new
OpenLayers.Layer.WMS("All Manoomin Waters",<br>   
               
"<a href="http://maps.glifwc.org/glifwc_wms.php" target="_blank">http://maps.glifwc.org/glifwc_wms.php</a>?", <br>   
               
{'layers': 'manoomin_waterbodies,manoomin_lines,manoomin_points',
transparent: true, format: 'image/gif'},<br>       
           
{isBaseLayer: false, visibility: true}<br>       
        );<br>       
        //Projection = WGS84 (4326)
<br>               
<br>               
// Add Layers To Map<br><br>               
map.addLayers([gmap, gsat, ghyb, gphy, layer,
manoomin]);<br>               
//map.zoomToMaxExtent();<br>           
    <br>           
    //Set Initial Extent<br>       
        map.setCenter(new
OpenLayers.LonLat(-90, 45.5).transform(<br>       
            new
OpenLayers.Projection("EPSG:4326"),<br>   
               
map.getProjectionObject()<br>       
        ), 6);<br><br>   
            <br>   
        //****** Select And Display
Feature Info ******//<br>           
<br>               
// Interaction; not needed for initial display.<br>               
selectControl = new
OpenLayers.Control.SelectFeature(layer);<br>               
map.addControl(selectControl);<br>               
selectControl.activate();<br>               
layer.events.on({<br>                   
'featureselected': onFeatureSelect,<br>                   
'featureunselected': onFeatureUnselect<br>               
});<br>           
}<br>            
<br><br>           
// Needed only for interaction, not for the display.<br>           
function onPopupClose(evt) {<br>               
// 'this' is the popup.<br>               
var feature = this.feature;<br>               
if (feature.layer) { // The feature is not
destroyed<br>                   
selectControl.unselect(feature);<br>               
} else { // After "moveend" or "refresh" events
on POIs layer all <br>                        
//     features have been destroyed by the
Strategy.BBOX<br>                   
this.destroy();<br>               
}<br>           
}<br>           
function onFeatureSelect(evt) {<br>               
feature = evt.feature;<br>               
popup = new
OpenLayers.Popup.FramedCloud("featurePopup",<br>                                        
feature.geometry.getBounds().getCenterLonLat(),<br>                                        
new
OpenLayers.Size(100,100),<br>                                        
"<h2>"+feature.attributes.title + "</h2>"
+<br>                                        
feature.attributes.description,<br>                                        
null, true, onPopupClose);<br>               
feature.popup = popup;<br>               
popup.feature = feature;<br>               
map.addPopup(popup, true);<br>           
}<br>           
function onFeatureUnselect(evt) {<br>               
feature = evt.feature;<br>               
if (feature.popup) {<br>                   
popup.feature = null;<br>                   
map.removePopup(feature.popup);<br>                   
feature.popup.destroy();<br>                   
feature.popup = null;<br>               
}<br>           
}</p>
<br clear="all">
Any help would be greatly appreciated.<span class="HOEnZb"><font color="#888888"><br>Dara<br>
</font></span></div>