力帆汽车 新一代“中国智造”

SERVICE PROVIDERS

服务商查询

'+dealer['province'][i]+''; } $('#s-province').html(html); p=$('#s-province').val(); } html=''; for(var c in dealer['company'][p]){ html+=''; } $('#s-city').html(html); } })(); // 点击查询按钮 $('#btn-search').on('click',function(){ var province=$('#s-province').val(); var city=$('#s-city').val(); if(city){ var company=dealer['company'][province][city]; for(var i in company){ var index=company[i]['index']; break; } var pixel=mp.pointToPixel(point[index]); var pixel=new BMap.Pixel(pixel.x,pixel.y-20); mp.panTo(mp.pixelToPoint(pixel)); mp.clearOverlays(); mp.addOverlay(myInfoWindow[index]) } }); });