Techno Barje

Google Maps Hacks Part2 - Cool Function to Power Up Route, Directions

Another day, another library!
This new library brings some usefull functions and one of them is just awesome :)
Start with these usefull functions:

  • return the distance between two points,
  • retrieve the a point at a given distance between two another,
  • compute the square box with a given size around a point

And the awesome function allows you to find the point at a given duration on a direction computed by google maps API. For example, you may retrieve the precive point where you are going to be after 1hour driving on the road from Paris to Berlin!
For more information, I suggest you to check at the README available on github:

As usual, source code is available under LGPL Licence.