Hello<br><br>I&#39;m developing a web aplication With MapFish, and I have a problem with Verual Earth Layers.<br><br>I define my layers like:<br><br>// Google Maps Layers Definition<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var google_hybrid = new OpenLayers.Layer.Google(<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;GHybrid&quot; , {type: G_HYBRID_MAP,&#39;sphericalMercator&#39;: true}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var google_street = new OpenLayers.Layer.Google(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;GStreet&quot;, {type: G_NORMAL_MAP, &#39;sphericalMercator&#39;: true}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var google_satellite = new OpenLayers.Layer.Google(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;GSatellite&quot;, {type: G_SATELLITE_MAP, &#39;sphericalMercator&#39;: true}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );<br>// Add Google Maps to the map object<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; map.addLayers([google_hybrid, google_street, google_satellite]);<br>
// Virtual Earth Layers Definition<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var virtualearth_roads = new OpenLayers.Layer.VirtualEarth(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;VERoads&quot;,{&#39;sphericalMercator&#39;: true, &#39;type&#39;: VEMapStyle.Road});//Virtual Earth Roads<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var virtualearth_aerial = new OpenLayers.Layer.VirtualEarth(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;VEAerial&quot;,{&#39;type&#39;: VEMapStyle.Aerial, &#39;sphericalMercator&#39;: true});//Virtual Earth Aerial<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var virtualearth_hybrid = new OpenLayers.Layer.VirtualEarth(<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;VEHybrid&quot;,{&#39;type&#39;: VEMapStyle.Hybrid, &#39;sphericalMercator&#39;: true});//Virtual Earth Hybrid<br>// Add Google Maps to the map object<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; map.addLayers([virtualearth_roads, virtualearth_aerial, virtualearth_hybrid]);<br>
<br>And When I change the view to Virtual Earth, the map changes of center point.<br><br>When I try to meauser I click in one point and the line its drawed in other point (corresponding a point in google mlaps layers)<br>
Any sugestion?<br><br>Thanks<br clear="all"><br>-- <br>Martinez Morata David<br>Thinking GIS<br>