<script src="Scripts/jquery-1.7.1.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=5297da43b6a06aa32416dee666dfd482"></script>
<script>
$(function () {
getLocation();
setInterval(getLocation, 1000);//测试用实时获取位置
});
var geolocation = new BMap.Geolocation();
function getLocation() {