<!DOCTYPE html>
<html>
<head>
<script src="
http://dev.virtualearth.net/mapcontrol/v4/
mapcontrol.js"></script>
<script type='text/javascript'>
var map = null;
function setup()
{
map = new VEMap('mymap');
map.LoadMap();
map.SetMapMode(VEMapMode.Mode3D);
map.AttachEvent("onchangeview", SetInfoBlock);
}
function SetInfoBlock(e)
{
var info = "Lat, Long: " + map.GetCenter()
+ "<br>Altitude: " + map.GetAltitude()
+ "<br>Pitch: " + map.GetPitch()
+ "<br>Heading: " + map.GetHeading();
document.getElementById("info").innerHTML = info;
}
</script>
<title>FV.com</title>
<meta name="viewport" content="width=device-width; initial-
scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<link rel="stylesheet" href="iui/iui.css" type="text/css" />
<link rel="stylesheet" href="iui/t/default/default-theme.css"
type="text/css"/>
<script type="application/x-javascript" src="iui/iui.js"></
script>
</head>
<body onload="setup();">
<div class="toolbar">
<h1 id="pageTitle"></h1>
<a id="backButton" class="button" href="#"></a>
</div>
<ul id="screen1" title="Map" selected="true">
<div id="mymap" style="width:800px;height:600px;"></div>
</ul>
<ul id="screen1" title="Hans" selected="true">
<div id="mymap" style="width:800px;height:600px;"></div>
</ul>
<div id="screen2" title="Apple Bees">
Hello World
</div>
</body>
</html>
The previous is what my HTML looks like.
I am trying to display two headers on the first page as can be seen by
UL, but i only see the "MAP" header and not the HANS header on page
one.
Also i am trying to display the BING MAP, which i do not see on the
page under the MAP header.
Any help would be appreciated as I am new to iUI design.
Thank you,
SiKni8