Hello<br><br>I'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> var google_hybrid = new OpenLayers.Layer.Google(<br>
"GHybrid" , {type: G_HYBRID_MAP,'sphericalMercator': true}<br> );<br> var google_street = new OpenLayers.Layer.Google(<br> "GStreet", {type: G_NORMAL_MAP, 'sphericalMercator': true}<br>
);<br> var google_satellite = new OpenLayers.Layer.Google(<br> "GSatellite", {type: G_SATELLITE_MAP, 'sphericalMercator': true}<br> );<br>// Add Google Maps to the map object<br> map.addLayers([google_hybrid, google_street, google_satellite]);<br>
// Virtual Earth Layers Definition<br> var virtualearth_roads = new OpenLayers.Layer.VirtualEarth(<br> "VERoads",{'sphericalMercator': true, 'type': VEMapStyle.Road});//Virtual Earth Roads<br>
var virtualearth_aerial = new OpenLayers.Layer.VirtualEarth(<br> "VEAerial",{'type': VEMapStyle.Aerial, 'sphericalMercator': true});//Virtual Earth Aerial<br> var virtualearth_hybrid = new OpenLayers.Layer.VirtualEarth(<br>
"VEHybrid",{'type': VEMapStyle.Hybrid, 'sphericalMercator': true});//Virtual Earth Hybrid<br>// Add Google Maps to the map object<br> 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>