Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

google places API details JS

var obj=$('<div>').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
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #google #places #API #details #JS
ADD COMMENT
Topic
Name
7+7 =