1.
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=***填写***"></script>
2.盒子
<div class="pointer-img disNone" >
<div id="map{$_k}" class="mapImg" ></div>
</div>
3.
var mapId =//地图id;
var jd =//经度;
var wd = //纬度;
// 百度地图API功能
var map = new BMap.Map(mapId);
map.centerAndZoom(new BMap.Point(jd, wd), 11);
map.addControl(new BMap.MapTypeControl());
map.setCurrentCity("北京");
map.enableScrollWheelZoom(true);