How can I find the closest intersection of the street I have coordinates of?
For instance, say I have street A running from south to north that is crossed by street X on the north and by street Y on the south.
Does the Google Maps API allow for finding coordinates of the nearest crossroad (either X or Y) of street A? I couldn't find it mentioned anywhere.
PS: The only solution I am aware of is to guess the lowest number and the highest number of building on the street A and to draw polyline between them. I am not sure about this though.