Google Maps Big Distance Matrix: Get Google Maps distance matrix for many locations

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-08-11 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 152 All time: 324 This week: 6Up
Version License JavaScript version Categories
gmaps-distancematrix 1.0GNU General Publi...1.8Geography, Web services
Description Author

This object can get Google Maps distance matrix for many locations.

It can call the Google Maps v3 API to get the distance matrix for many locations that may go over the 25 locations limit by splitting it in smaller blocks.

The object can display the distance matrix on a HTML table or export it as a string in JSON format.

Innovation Award
JavaScript Programming Innovation award nominee
August 2014
Number 4
The Google Maps API allows retrieving the distances between given locations, but requests are limited to retrieve distances between 25 locations per request.

This object implements a workaround to this limitation by sending multiple requests when it is necessary to obtain the distances between more than 25 locations.

Manuel Lemos
  Performance   Level  
Name: David Castillo <contact>
Classes: 2 packages by
Country: Mexico Mexico
Age: 34
All time rank: 994 in Mexico Mexico
Week rank: 10 Up1 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (2 files)
Plain text file gmaps-distancematrix.js Class GMaps v3 Big Distance Matrix Class
Accessible without login Plain text file example.html Example Example of usage
Accessible without login Plain text file example.js Example Example JS

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file bootstrap.min.css Data Bootstrap CSS minified

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file jquery.min.js Aux. jQuery Library
  Accessible without login Plain text file json2.min.js Aux. JSON2 utility minified

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:324
This week:6Up