title: how to highlight a location on Google Maps Places API
body: <p>I am trying to build a simple webpage which shows all subway stations around a particular latitude and longitude. Point A is fixed. Point B is variable (user input). My two goals are:</p>
  
  <ol>
  <li>highlight subway stations in the map</li>
  <li>highlight nearest subway station to point B to reach point A.</li>
  </ol>
  
  <p>Looking up the documentation, I know that a way to do this would be to call: <a href="https://maps.googleapis.com/maps/api/place/search/json?types=subway_station&amp;rankby=distance&amp;location=40.7207800,-74.0011190&amp;key=API_KEY" rel="nofollow">https://maps.googleapis.com/maps/api/place/search/json?types=subway_station&amp;rankby=distance&amp;location=40.7207800,-74.0011190&amp;key=API_KEY</a></p>
  
  <p>My questions are:</p>
  
  <ol>
  <li>This returns json data, how do I display this on a map? (specically on google.maps.MapTypeId.ROADMAP type map)</li>
  <li><p>Is there another way to do this?</p></li>
  <li><p>How can I display (or mark) the nearest subway station to point B?</p></li>
  </ol>