//经纬度转换地址
getLP:function(){
var _this = this;
var url = "http://api.map.baidu.com/geocoder/v2/?callback="+_this.renderReverse+"&location=39.934,116.329&output=json&pois=1&ak=5DuUEaMETEOawgquGa7Uid0pZuoou3rT"
$.getScript(url);
},
renderReverse:function(json){
var l = JSON.stringify(json);
console.log(l);
},
大哥这是语法错误.
还有请不要函数对象拼接到字符串里.