Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Google Maps

Posted on 2016-07-29
7
Medium Priority
?
88 Views
Last Modified: 2016-08-02
Hi,

I've built a few small basic Wordpress sites over the last few days, and none of the Google maps are working on either of them.

I've created my own theme and I've been using it for a few years and all of the sites / Google maps from before 1 week ago are working fine.

Does anyone know what could be wrong? Someone mentioned that you need to authorise each map now because Google changed their API a few weeks ago?
0
Comment
Question by:oo7ml
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 16

Expert Comment

by:Brian Pringle
ID: 41734947
It has to be called from inside an Iframe.  Go to the map, click on the share icon, and then click "Embed".  Use that full path and it should work.
0
 

Author Comment

by:oo7ml
ID: 41734963
I'm actually using the Map API in my theme as I need to add things to the map itself.
0
 

Author Comment

by:oo7ml
ID: 41734972
I just found this but I have no clue what I need to do now.

https://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update

01 - how do I generate a key?

02 - where do I insert it in my theme?

Thanks in advance to anyone who can help.
0
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 
LVL 5

Expert Comment

by:Eric C
ID: 41734994
Correct. As of June 22, google no longer supports map access without a key.

1. go to https://developers.google.com/maps/documentation/javascript/get-api-key
2. click 'Get a Key'

Once you get the key, you simply copy/paste it into your WP Admin page.
WHERE you put it, is dependent on the Theme or Plug-In you're using.

If you don't see any button or screen to add your Google Maps API key, then contact the theme or plug-in author and ask for it.
It was required as of last month so I would be surprised if you were using a theme that didn't support it.
0
 

Author Comment

by:oo7ml
ID: 41738743
Cool, thanks... so do i need to get a new key for every site, or can i use the same key for multiple sites?
0
 
LVL 5

Accepted Solution

by:
Eric C earned 2000 total points
ID: 41738866
You need a new key for every site, but you can use your same gmail account for all. Just go back to the Map API site and create a new 'project' then generate another key.
0
 

Author Comment

by:oo7ml
ID: 41738974
Ok great, thanks Eric.
0

Featured Post

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
By using UNIQUE function in Google Sheets, you can get around removing duplicates like in Microsoft Excel.
This Micro Tutorial will demonstrate how to use comments in Google Docs. You will learn how to create, edit, and delete a comment.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question