Google API Keys
In July of 2018, Google dramatically reduced the number of Google Maps "transactions" you're allowed to make per month. Unfortunately, this means that the general public can no longer access some of Google's services using GPS Visualizer's credentials.
When you make a Google HTML map, you may see a "This page can't load Google Maps correctly" message, and Google's map tiles will be watermarked with "For development purposes only." For now, there are three ways to deal with this:
- Get your own API Key and enter it into GPS Visualizer's input form; instructions are below, in the blue box.
- Save the map to your computer. It seems that "local" files do not trigger the key warning.
- Use a non-Google background map, such as OpenStreetMap. You'll still get the "can't load correctly" message (which can be quickly dismissed), but the tiles won't be watermarked with the "development" message.
(Note that Google Earth KML files are completely unaffected by all of this!)
How to get your own API Key
The best solution is to create your own Google Maps Platform API key:
- Go to https://cloud.google.com/maps-platform/. Sign in if you are not already logged into a Google account.
- Click Get Started. When you are prompted to select a product, select Routes (and, optionally, Maps).
- Enter a "Project" name and agree to Google's Terms & Conditions.
- Go to https://console.developers.google.com/apis/credentials. At the top of the screen, select your project.
- Click Create Credentials and select API Key. If you are only going to use the key to make maps or GPX files with GPS Visualizer, it can be an "unrestricted key."
Note: once you've entered your key into a GPS Visualizer input form, it will be saved in a "cookie," so you won't have to enter it again unless you switch to a different browser.
If you want to keep using your API key beyond the limited free trial, you may need to "enable billing" by entering a credit card and verifying that you're a real person, but individual users will almost NEVER exceed the free quota, so you won't actually be billed.
Using "My Maps" to convert Google directions
(no API Key required)
If you just need to convert a Google Maps driving/walking/biking route to GPX, you can create the route in Google's "My Maps" feature, and GPS Visualizer will still be able to read it, as long as "sharing" has been enabled.
- Go to https://www.google.com/maps/d/. Sign in if you are not already logged into a Google account.
- Click on Create a new map.
- In the map-drawing interface's toolbar, click on the "add directions" button ().
- Enter your beginning and ending points. You can also add additional destinations, or drag the route to a different road, just like in the normal Google Maps interface.
- Click Share in the sidebar (). Name your map.
- Under Who has access," click Change... and then select On - anyone with the link.