这是一个脑筋急转弯的问题,因为代码按原样运行得非常好,它只是稍微刺激了我的审美。我正在转向StackOverflow,因为我自己的大脑现在正在让我失望。下面是一段代码,它使用GoogleMapsJSAPI查找地址并在map上放置标记。但是,有时初始查找会失败,所以我想用不同的地址重复该过程。geocoder.getLatLng(item.mapstring,function(point){if(!point){geocoder.getLatLng(item.backup_mapstring,function(point){if(!point)return;map.setCenter(p