|
@@ -49,7 +49,7 @@ const getCarInfoList = () => {
|
|
|
var obj = res.rows[index].location;
|
|
var obj = res.rows[index].location;
|
|
|
// console.log(obj.toString())
|
|
// console.log(obj.toString())
|
|
|
var location = formatGCJ(obj.lng, obj.lat);
|
|
var location = formatGCJ(obj.lng, obj.lat);
|
|
|
- if(res.rows[index].carNum.indexOf("JYA798")!= -1) alert("1")
|
|
|
|
|
|
|
+ //if(res.rows[index].carNum.indexOf("JYA798")!= -1) alert("1")
|
|
|
// console.log(location.toString())
|
|
// console.log(location.toString())
|
|
|
addMarker(location, res.rows[index], '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', 'location')
|
|
addMarker(location, res.rows[index], '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', 'location')
|
|
|
|
|
|