<html>
<head>
<title>OpenLayers Example</title>
<script src='http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js'></script>
<script src="http://openlayers.org/api/OpenLayers.js"></script>
</head>
<body>
<div style="width:100%; height:100%" id="map"></div>
<script defer='defer' type='text/javascript'>
var options = {
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
units: "m",
maxResolution: 156543.0339,
maxExtent: new OpenLayers.Bounds(-20037508, -20037508,
20037508, 20037508.34)
};
var map = new OpenLayers.Map("map", options);
map.addControl(new OpenLayers.Control.Permalink());
map.addControl(new OpenLayers.Control.MousePosition());
var layer = new OpenLayers.Layer.VirtualEarth("VE",{ sphericalMercator: true });
map.addLayer(layer);
map.zoomToMaxExtent();
var wkt = new OpenLayers.Format.WKT();
var features = wkt.read("POINT(-71, 42)");
var myVector = new OpenLayers.Layer.Vector("GML", {projection: new OpenLayers.Projection("EPSG:4326")});
myVector.addFeatures(features);
map.addLayer(myVector);
map.zoomToExtent(myVector.getExtent());
</script>
</body>
</html>