HPNeo/gmaps — pull request #89 by reinos (2012-07-12 19:13:17+00:00)
Title: Add Elevation services

How to use:

Location request:

map.getElevations({
locations : [new google.maps.LatLng(-35, 151), new google.maps.LatLng(-395, 51)],
callback : function (result, status){
if (status == google.maps.ElevationStatus.OK) {
//Do the Elevation magic
}
}
});

Path request:

map.getElevations({
locations : [new google.maps.LatLng(-35, 151), new google.maps.LatLng(-395, 51)],
path : true,
callback : function (result, status){
if (status == google.maps.ElevationStatus.OK) {
//Do the Elevation magic
}
}
});