Elevation for a route

This page is useful for planning walks or bike rides. It will calculate the route between two locations and will then also calculate the elevation of the route and display a graph to give you a feel for the hills on the way. Just type in two addresses or click two locations on the map and press the 'Get elevation' button. If alternative routes are available, they can be selected below. You can then drag the route around to see how it changes the climbs required.
Unfortunately due to a change in Google Maps pricing, you must now provide a Google Maps API key to use this service.

You can get a Google Maps API key here
https://developers.google.com/maps/documentation/javascript/get-api-key

Press 'Get started'

Choose Routes and Places when selecting products during the setup process

Then create a project

Then enable billing. Google now require billing to be enabled on your account, so beware of how much you'll be charged.

Google should then create an API key for you. That is what you need to enter in the field above

You should see a button saying 'Secure credentials'. Click this

Under 'Application restrictions', select 'HTTP referrers (websites)'

In the field that appears, type https://www.doogal.co.uk and press 'Save'

Once that's done, you should be able to use your API key above

If you already have an API key, ensure the following APIs are enabled in your project
  • Google Maps Geocoding
  • Google Maps JavaScript
  • Google Maps Directions
  • Google Maps Distance Matrix
Start altitude:
End altitude:
Maximum altitude:
Minimum altitude:
Distance:
Total ascent:
Total descent:
Maximum gradient ascending:
Maximum gradient descending: