title: How to get a location's details using its placeId without needing to supply a HTML element?
body: <p>I'm curious how you would get the details of a place using its placeId without needing to supply it an HTML element. For example, the documentation <a href="https://developers.google.com/maps/documentation/javascript/places#place_details_requests" rel="nofollow">HERE</a> shows all of the examples needing an HTML element, but I simply need to call it to use the data elsewhere.</p>
  
  <pre><code>var request = {
    placeId: 'ChIJN1t_tDeuEmsRUsoyG83frY4'
  };
  
  service = new google.maps.places.PlacesService(map);
  service.getDetails(request, callback);
  
  function callback(place, status) {
    if (status == google.maps.places.PlacesServiceStatus.OK) {
      createMarker(place);
    }
  }
  </code></pre>