Forum Support

Shape 5
May 08, 2021, 08:13:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Google Map not working in the "Where?" section  (Read 795 times)
finalstr
Jr. Member
**
Offline Offline

Posts: 30



« on: December 27, 2016, 03:13:58 PM »

I have edited the address in the S5 Map It With Google module but it continues to tell me "Oops! Something went wrong. This page didn't load Google Maps correctly." Am I missing something, or is the address pulled from a different location?

EDIT: I realize the map isn't showing up because Google now requires a Maps API Key for anything activated after June 22nd, 2016. I now have an API Key, where would I need to put that so the map would function properly? I didn't see anything in the plugins that looked correct.

EDIT #2:
I figured it out. I just had to place a script into the index.php with my API Key to get it working again. Here's what I did if anyone else has the same issue.

1) Get a Maps API Key for your site from Google: https://developers.google.com/maps/documentation/javascript/get-api-key
2) Add this script into the body of your index.php (replace the YOUR_API_KEY_HERE with the key you got in step 1):
    <script async defer
    src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_HERE&callback=initMap">
    </script>
3) All done, enjoy the map.

- Andrew
« Last Edit: December 28, 2016, 10:24:16 AM by finalstr » Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: December 28, 2016, 01:16:27 PM »

Hello,

We actually updated the downloads recently and it includes a spot now in the map it module to add in your API key.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
finalstr
Jr. Member
**
Offline Offline

Posts: 30



« Reply #2 on: December 28, 2016, 01:18:41 PM »

Awesome, I'll check it out!
Logged
elleclouds
Jr. Member
**
Offline Offline

Posts: 36



« Reply #3 on: December 28, 2016, 09:26:37 PM »

Hello,

We actually updated the downloads recently and it includes a spot now in the map it module to add in your API key.

Where exactly is this option in the module?  I downloaded the newest module and don't see anywhere to enter my API key.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #4 on: December 29, 2016, 11:35:55 AM »

Be sure to uninstall your old version and then install the new one. Its at the bottom, the last option in the settings for it.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
chwebmedia
Jr. Member
**
Offline Offline

Posts: 14



« Reply #5 on: March 26, 2017, 12:11:33 AM »

I just installed the most recent google map extension with the API to the site but nothing is working.

https://maps.googleapis.com/maps/api/js?key=AIzaSyDELA1SVQieP8Q8U1wrxO6-orUE3tHXo74&callback=initMap

Site name: http://luumotorsport.com

Regards,
Karen
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #6 on: March 27, 2017, 11:23:18 AM »

Hello Karen,

It looks like its working when I just checked your site. The map is loading it just doesn't have a marker on it. Be sure that you didn't enter a marker image in the admin that isn't in the specified location. You can just leave that field empty and save and it will show our default map marker.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.