Thursday, May 05, 2011

Introducing the Distance Matrix?

A new Distance Matrix service has been added to the Google Maps API.

The Distance Matrix service allows you to display the travel distances and times between a number of locations. For example, the image below shows the walking times between different London Underground stations and important landmarks.

This example Google Map uses the Distance Matrix service to show the driving distances from Edinburgh to Stockholm and Prague and from Greenwich London to Stockholm and Prague.

For more information see the Maps API services documentation, and the Distance Matrix API web service documentation.

Via: Google Geo Developers Blog



Gil said...

For this exemple :, how to sort by distance ?

Exemple :

I tried with sort() and i've had :

-> It doesn't work because it only sort the distance value ...

Keir Clarke said...


Have you tried submitting your question to the Google Maps API Google Group?

Gil said...

Yes but no answer to resolv my problem ...