Create a Simple Virtual Earth 3D Mashup

Creating a 3D mashup with Virtual Earth is very easy.  Here is some sample code for a basic Virtual Earth 3D Mashup:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<title>Virtual Earth 3D Mashup</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src=""></script>

function CreateMap()
   var map = new VEMap('myMap');
   map.LoadMap(new VELatLong(46.935893, -99.71), 4, VEMapStyle.Aerial, false, VEMapMode.3D);
<body onload="CreateMap();" style="width:100%;height:100%;">
<div id='myMap' style="position:absolute;width:100%;height:100%;"></div>

Click Here to see a live demo of this mashup.

Comments (1)

  1. Keith Kinnan says:

    I updated this sample to use the Virtual Earth Map Control 6.2 API.

Skip to main content