title: Using name as a location instead of coordinate for google
body: <p>Is it possible to pin a marker on the map base on the name instead of coordinate ?</p>
  
  <p>Such as    </p>
  
  <pre><code>echo'&lt;iframe width="550" height="280" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place key=AIzaSyB412H_qOVZ3u6awLH6Rovvhbv6qA35LSg&amp;q= China"&gt;&lt;/iframe&gt;';
  </code></pre>
  
  <p>Instead of</p>
  
  <pre><code>var coba2center = new google.maps.LatLng(-7.78793,110.36933);
  var coba2marker = new google.maps.Marker({
      position:coba2center,
      });
  </code></pre>
  
  <p>Or would it be possible to do this</p>
  
  <pre><code>var location= "https://www.google.com/maps/embed/v1/place key=AIzaSyB412H_qOVZ3u6awLH6Rovvhbv6qA35LSg&amp;q= China"
  
  var coba2center = new google.maps.location;
  var coba2marker = new google.maps.Marker({
      position:coba2center,
      });
  </code></pre>