title: Google Places API - radarSearch search by name
body: <p>I'm using <a href="https://developers.google.com/maps/documentation/javascript/places#radar_search_requests" rel="nofollow">Google Places API</a> and using radarSearch to list establishments. However I'm getting a problem when I search using name parameter.</p>
  
  <p>It returns several places, but I'd like to get the exactly name.</p>
  
  <p>In this <a href="https://jsfiddle.net/fautepdf/6/" rel="nofollow">example</a>, I'd like to have returned "best buy" but it is returning places not related to the word I'm searching for.</p>
  
  <pre><code>            var map;
    var infoWindow;
    var service;
  
    function initialize() {
      map = new google.maps.Map(document.getElementById('map'), {
        mapTypeId: google.maps.MapTypeId.ROADMAP,
        center: new google.maps.LatLng(33.7490, -84.3880),
        zoom: 11,
        styles: [
          {
            stylers: [
              { visibility: 'simplified' }
            ]
          },
          {
            elementType: 'labels',
            stylers: [
              { visibility: 'on' }
            ]
          }
        ]
      });
  
      infoWindow = new google.maps.InfoWindow();
      service = new google.maps.places.PlacesService(map);
  
      performSearch();
    }
  
    function performSearch() {
      var request = {
        location: new google.maps.LatLng(33.7490, -84.3880),
        radius: 50000,
        name: "Best Buy"
      };
      service.radarSearch(request, callback);
    }
  
    function callback(results, status) {
      if (status != google.maps.places.PlacesServiceStatus.OK) {
        alert(status);
        return;
      }
      for (var i = 0, result; result = results[i]; i++) {
        createMarker(result);
      }
    }
  
    function createMarker(place) {
      var marker = new google.maps.Marker({
        map: map,
        position: place.geometry.location,
        icon: 'http://www.google.com/intl/en_us/mapfiles/ms/micons/yellow-dot.png'
      });
  
      google.maps.event.addListener(marker, 'click', function() {
        service.getDetails(place, function(result, status) {
          if (status != google.maps.places.PlacesServiceStatus.OK) {
            alert(status);
            return;
          }
          infoWindow.setContent(result.name);
          infoWindow.open(map, marker);
        });
      });
    }
  
    initialize();
  </code></pre>