通过输入地址解析出地址的经度和纬度
var map = new BMap.Map("allmap");
var point = new BMap.Point(116.331398,39.897445);
map.centerAndZoom(point,12);
var myGeo = new BMap.Geocoder();
myGeo.getPoint('上地十街', function(point){
if (point){
console.log('纬度'+point.lat+'经度'+point.lng);
}else{
console.log('无法获取经纬度');
}
}