I need to get the closest establishments in 100m radius from specific coordinates. I found the Google Places API sample code, but I don\'t use a map in my application, since thi
$attrib probably is not a Node, I guess it's a jQuery-object.
$attrib
Use
service = new google.maps.places.PlacesService($attrib[0]);
or without jQuery:
service = new google.maps.places .PlacesService(document.getElementById('main') .appendChild(document.createElement('div')));