Just sharing some of my inconsequential lunch conversations with you... RSS  

Thursday, May 01, 2008

VirtualEarth

Yesterday I've attended to a great session by Pedro Rosa on VirtualEarth. Pedro showed us how simple is to integrate with VirtualEarth. Until Pedro publishes his samples, here one from the SDK:

<head>   
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1">
</script>

<script type="text/javascript">

var map = null;

function GetMap()
{
map = new VEMap('myMap');
map.LoadMap();
}

</script>
</head>

<body onload="GetMap();">
<div id='myMap' style="position:relative; width:400px; height:400px;"></div>
</body>
</html>

Couldn't be simpler.


Pedro was polite enough not to mention Google - and this was cool, as VirtualEarth is kicking ass on GoogleMaps.


From his presentation, here is what I found relevant:



Pedro will upload his presentation and samples back on his blog at deepdivein.net, so be sure to stay tuned.


[update]


Here it is, as promised (in Portuguese): Virtual Earth - O que podemos fazer com esta nova plataforma?

No comments:

Development Catharsis :: Copyright 2006 Mário Romano