var gc = new BMapGeocoder();
gcgetLocation(pointAdd, function(rs)
{
var addComp = rsaddressComponents;
var adr="车辆: "+chepai+"\r\r"+"位于: "+addCompprovince + ", " + addCompcity + ", " + addCompdistrict + ", " + addCompstreet + ", " + addCompstreetNumber;
//创建信息窗口,点击标注时显示标注对应的车牌号码以及当前地址
var infoWindow1 = new BMapInfoWindow(adr);
markeraddEventListener("click", function(){thisopenInfoWindow(infoWindow1);});
});
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)