This is a simple example of the Roads API from google. This snaps the road plots to the road. A very handy API by Google. This is developed in Django. Live example can be seen here:
More about google snap to road api: https://developers.google.com/maps/documentation/roads/snap
If you have any question, please email me at erfanjordison@gmail.com