News:

GinGly.com - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

Working with 3D

Started by thiruvasagamani, Jan 23, 2009, 04:11 PM

Previous topic - Next topic

thiruvasagamani

Working with 3D

This article explores the basics of leveraging the many capabilities of the 3D map view in Virtual Earth. This article also explains how to import 3D objects that are made using the VE3DVIA tool.
Getting Started

The Virtual Earth 3D control is an ActiveX plug-in that you must download into your Web browser. Start with a basic Virtual Earth map page
Copy Code

<html>
<head>
  <title>Map Query</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2"></script>
  <script>
    var map = null;
    function GetMap()
    {
      map = new VEMap('myMap');
      map.LoadMap();
    }
  </script>
</head>

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


Source : MSDN
Thiruvasakamani Karnan