|
<%@ Page Language="C#" AutoEventWireup="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Kinect 3D Bing Maps</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3"></script>
<script type="text/javascript">
var map = null;
var mouseClickThreshold = 0;
var mouseDownLocation;
var pincounter = 0;
var isVideo = false;
function GetMap() {
map = new VEMap('myMap');
map.SetCredentials("AlK3Dt91ummP7gHZdrT7Hhxxlhv82vJgNGERIYQspUWeTV0egPquFwAoWWLnRrIt");
map.LoadMap();
map.SetZoomLevel(17);
map.SetCenter(new VELatLong(40.7028349, -74.011404));
map.SetMapMode(VEMapMode.Mode3D);
}
function zoomIn() { map.ZoomIn(); }
function zoomOut() { map.ZoomOut(); }
</script>
</head>
<body onload="GetMap();">
<div id='myMap' style="position:relative; float:left; border:5px solid black; left:0px; width:1000px; height: 700px;"></div>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.