Solved

Google Maps

Posted on 2016-07-29
7
83 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
Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

 
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 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Finding the file/plugin that inserted my Google Analytics code? 7 72
Please explain purpose of GZIP 4 82
Presenting my portfolio on the web? 11 53
modify font on ninja form 1 26
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
This Micro Tutorial demonstrates in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

739 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