Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Google maps

Featured Replies

Hi,

 

I'm including a google map in to a site. Absolutely a piece of cake except the friggin API key!

 

I generate the API key, cut and paste the javascript in to the head of the page but when I publish the page I get the following message:

 

"This web site needs a different Google maps API key. A new key can be generated at . . .etc"

 

I've created 3 new keys and still get the same message.

 

Anyone come across this before? I've checked within google forums but I can't find a conclusive answer.

 

Jo

Are you using the API key on the specified domain. Also it will not work locally (xampp/wamp etc) which is a huge pain in the ASS!

  • Author

When you say the "specified domain" I think so.

 

I'm putting the key in the head of the page with the map on it. Surely that makes sense.

 

So, the domain is www.pawrs.com and the page with the map is http://www.pawrs.com/recycling_show_location.html

 

So the last url is the domain I used.

 

Isn't that right?

 

Thanks.

There appears to be two scripts relating to google maps however the encoded key is different in both.

 

edited the key needs to relate to your main domain www.pawrs.com

You seem to have it working now! Everything cool?

  • Author

Yeah it is working now thanks.

 

I did it by not including an api key at!!!?

 

Will I be shot at dawn by google . . . . . ..

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.