贫民窟里的程序高手

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
document.getElementById("ifarme-63").contentWindow.document.getElementById("qksv").value = '1';
        document.getElementById("ifarme-63").contentWindow.document.getElementById("hfDateStart").value = '20150101';
        document.getElementById("ifarme-63").contentWindow.document.getElementById("txtIndex_Dn_KeyWord").value = $("#quick").val();
        document.getElementById("ifarme-63").contentWindow.document.getElementById("pc").value = "";
        document.getElementById("ifarme-63").contentWindow.document.getElementById("qkcd").click();
        document.getElementById("ifarme-63").contentWindow.document.getElementById("qkci").click();
        document.getElementById("ifarme-63").contentWindow.document.getElementById("quick").click();
var map = new BMap.Map("map"); 
var point = new BMap.Point(121.333502, 37.555578);  
map.centerAndZoom(point, 13);
map.enableScrollWheelZoom(true);
map.clearOverlays();
    $.post("/Handler/Fdata.ashx", { med: 'Map' }, function (json) {
        var obj = eval('(' + json + ')');
        obj.forEach(function (e) {
            var marker = new BMap.Marker(new BMap.Point(e.LONGITUDE, e.LATITUDE));
            map.addOverlay(marker);
            var label = new BMap.Label(e.ACCOUNT_NAME, { offset: new BMap.Size(20, -10) });
            marker.setLabel(label);
        })
    })
<script src="http://api.map.baidu.com/api?v=1.5&ak=cnX8K8wveewWSn8SYad9qLYH" type="text/javascript"></script>

 

posted on 2016-03-28 10:12  贫民窟里的程序高手  阅读(1452)  评论(0编辑  收藏  举报