Categories
allPost

When is a Google Maps API key required?

8 people 👁️ing this randomly

Try Adsterra Earnings, it’s 100% Authentic to make money more and more.

Try Adsterra Earnings, it’s 100% Authentic to make money more and more.

You do not need an API Key to use Goolge Maps API V3. However, we just experienced an issue where Google reported that we had exceeded our limit, even though we didn’t (Development Server). I went ahead and set up an API Key, and its actually beneficial, because you then get usage reporting. Also, we haven’t seen the false Quota usage problem since then. I thought I would go ahead a share the process:

Goto https://console.developers.google.com/

Click the red ‘Create Project’ button

Give your project a name and Google will automatically give it an ID

Wait until the Spinny on the bottom says your project is complete.

In the left hand nav, select APIs Under APIs & Auth, and select ‘Google Maps JavaScript API v3’

enter image description here

Click the link and then Turn on the API

enter image description here

enter image description here

Go to Credentials under the APIs & Auth section, and click the red ‘Create New Key’ under the Public API access section. Then click Browser Key.

enter image description here

Make sure you include the star in your Website’s name. For example, use mywebsite.com/*. This will ensure all pages are authorized to use the API.

Copy the key into your Javascript reference to the Google Maps API, like so:

enter image description here

Long story short, the key is not required, but best practices would indicate that you should use the key.

Source

Dillard's - The Style of Your Life.

By allaboutian

open profile for all

Related Posts

Find IP address of directly connected device

9 people 👁️ing this randomly Try Adsterra Earnings, it’s 100% Authentic to make money more…

When to trust an AI model

7 people 👁️ing this randomly Try Adsterra Earnings, it’s 100% Authentic to make money more…

GitHub Copilot · Your AI pair programmer

49 people 👁️ing this randomly GitHub Copilot · Your AI pair programmer · GitHub Source…