Google Maps API: Allow local files from your desktop computer


Assuming that you have already created the key...
  1. Go to https://console.developers.google.com/apis/credentials
  2. Make sure you have the right project selected from the dropdown at the top
  3. Click the API Key
    1. Under "Application restrictions" select "HTTP referrers (websites)"
    2. Under "Website restrictions" click "ADD AN ITEM"
      1. Put __file_url__//* into the box that appears
    3. Click "SAVE"

Comments

Popular posts from this blog

YumRepo Error: All mirror URLs are not using ftp, http[s] or file

Find Which Processes are Using Swap

Excel - Combine Multiple CSV Files