It looks like www.rightmove.co
is determining the nearest stations
server-side. The easiest way to do that is to just get a database of
all the train station lat/lngs (that would be almost trivial), and
then use ordinary database programming to find the three closest.
I don't see that rightmove places those stations on the map, but once
you know the lat/lng of the three stations you want, it would not be
difficult to just fitBounds the map to include those lat/lngs, and the
stations are already there.
In other words, this isn't really a google maps question.
On Jan 3, 3:43 am, Paull <claremontestateswhitecha...@gmail.com