hi!!!<br><br> my map have 2 layer , the first with projection 4326(default) and the second google maps(proj 900913). When i change layer to google (using Control.LayerSwitcher) do not display the correct extend that i had before i did change map proj 4326.<br>
<br><br>can you help me please?<br><br>code:<br>map = new OpenLayers.Map('map');<br> layer = new OpenLayers.Layer.MapServer( "proj 4352",<br> "<a href="http://localhost/cgi-bin/mapserv.exe">http://localhost/cgi-bin/mapserv.exe</a>?", {map:'c:/ms4w/Apache/htdocs/tilecache/c2011.map', mode:'map',Image:'image/png'},{transitionEffect: 'resize'} ); <br>
var gsat = new OpenLayers.Layer.Google(<br> "Google Satellite",<br> {type: google.maps.MapTypeId.SATELLITE, numZoomLevels: 22}<br> );<br> map.addLayers([layer,gsat]);<br> map.addControl(new OpenLayers.Control.LayerSwitcher());<br>
<br><br>RG<br>VM<br>