引入百度api<scripttype=text/javascriptsrc=api.map.baidu/api?v=1.4></script>1.4api版本<scripttype=text/javascriptsrc=api.map.baidu/library/MapWrapper/1.2/src/MapWrapper.min.js></script>转化gps坐标google坐标用初始化地图varmyMap=newBMap.Map(divMap);//divMap为要在id为divMap的div中myMap.centerAndZoom(newBMap.Point(116.404,39.915),12);//地图显示中心坐标为116.404,39.915,放大级别为12myMap.enableScroll...