lundi 1 septembre 2014

how to highlight one point from a search on Google Maps Places API


Vote count:

0




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:



  1. highlight subway stations in the map

  2. highlight nearest subway station to point B to reach point A.


Looking up the documentation, I know that a way to do this would be to call: http://ift.tt/1pjBYsE


My questions are:



  1. This returns json data, how do I display this on a map? (specically on google.maps.MapTypeId.ROADMAP type map)


  2. Is there another way to do this?




  3. How can I display (or mark) the nearest subway station to point B?





asked 57 secs ago







how to highlight one point from a search on Google Maps Places API

Aucun commentaire:

Enregistrer un commentaire