The Google Maps Roads API addresses the problem of wiggles in the tracks recorded by mobile phones by providing a snap-to-road facility.

 roadwiggles

 

Alex Danilo  explains in this video it retrofits the "breadcrumb trail", or rather the sampled GPS co-ordinates, laid down as you drive or cycle along a route and moves them to the roads you were actually using. This allows for much neater and more accurate visualization of the journey you made

 

 

One advantage of the more accurate tracks provided by the Roads API is that it means you can divide distance by time to report the speed of travel. While the snap-to-road features is available for free with a limit of 2500 queries per day, if you have a paid subscription to the Google Maps API for Work, the Roads API also gives you access to speed limit data from all over the world which means you can build apps that inform users when they are speeding. 

Google has partnered with Dash, developers of a connected driving app to demonstrate the benefits of the new API - the mobile on the left is without the Roads API and the one on the right is with it.

 

roadsspeed

 

Google has also made sample code and documentation available 

 

More Information

Google Maps welcomes the new Roads API

Related Articles

Google Maps Embed API

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

 

More NEWS

Java 10 Improves Garbage Collection
19 Apr 2018 16:19 - Alex Denham

Java 10, a feature release of Java SE, has improved its garbage collection and compilation, and has also extended the Class-Data Sharing feature to improve startup and footprint. 

Arkansas Offers Incentives For AP Computer Science
22 Oct 2017 00:00 - Sue Gee

The US state of Arkansas is planning to give cash rewards of up to $1000 to high school students who gain top grades in Computer Science exams.

Other Articles

 

justjsquare

 



 

Comments




or email your comment to: This email address is being protected from spambots. You need JavaScript enabled to view it.