virtualearth.html
来自「本源码是用VB开发的GPS追踪定位系统。」· HTML 代码 · 共 35 行
HTML
35 行
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My Virtual Earth</title>
<link href="http://local.live.com/css/MapControl.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script>
<script type="text/javascript">
var map = null;
//---Go to a particular location on the map---
function goto_map_position(lat, lng)
{
map.PanToLatLong(new VELatLong(lat,lng));
}
//---Load the Map---
function loadMap()
{
container = document.getElementById("VirtualEarthMap");
container.style.width = 488;
container.style.height = 469;
//---instantiate the VE map---
map = new VEMap("VirtualEarthMap")
map.LoadMap(new VELatLong(38.898748, -77.037684), 12 ,'r' , false);
}
</script>
</head>
<body onload="loadMap()" style="margin: 0px">
<div id="VirtualEarthMap">
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?