📅  最后修改于: 2022-03-11 15:02:00.190000             🧑  作者: Mango
var obj=$('').appendTo('body');
var service=new google.maps.places.PlacesService(obj.get(0));
service.getDetails({placeId:''},function(PlaceResult, PlacesServiceStatus){
// PlaceResult is an object
// PlacesServiceStatus is a string
});