solved google maps api key in time map

alt=
@itsken
7 years ago
53 posts
HI, i'm getting an error when looking at the time map, when i look at the developer tools it says the API key is missing ... So I have a key, but where do i put it ????
updated by @itsken: 06/30/17 12:11:29AM
michael
@michael
7 years ago
7,714 posts
looks like you've installed this module:
https://www.jamroom.net/ultrajam/networkmarket/ss=maps

The producer of that module is @ultrajam

Their forum is here:
https://www.jamroom.net/ultrajam/forum

Their docs Table of Contents is here:
https://www.jamroom.net/ultrajam/documentation/contents

Looks like the doc you want is related to putting in your API key to the module.


Probably this doc at a guess:

Ultrajam Docs: "Google Maps API Usage and Limits"
https://www.jamroom.net/ultrajam/documentation/modules/1788/google-maps-api-usage-and-limits

Usually keys go in the ACP -> MODULES -> (whatever category that module is in) -> GoogleMaps -> GLOBAL CONFIG
alt=
@itsken
7 years ago
53 posts
michael:
looks like you've installed this module:
https://www.jamroom.net/ultrajam/networkmarket/ss=maps

The producer of that module is @ultrajam

Their forum is here:
https://www.jamroom.net/ultrajam/forum

Their docs Table of Contents is here:
https://www.jamroom.net/ultrajam/documentation/contents

Looks like the doc you want is related to putting in your API key to the module.


Probably this doc at a guess:

Ultrajam Docs: "Google Maps API Usage and Limits"
https://www.jamroom.net/ultrajam/documentation/modules/1788/google-maps-api-usage-and-limits

Usually keys go in the ACP -> MODULES -> (whatever category that module is in) -> GoogleMaps -> GLOBAL CONFIG

Hi Michael I loaded the basic genosis system and I don't see anywhere in ACP -> Modules where Googlemaps is mentioned - i looked at the docs that you posted and it talks about buying the googlemaps module (which i've not done)
michael
@michael
7 years ago
7,714 posts
hmmmm. no ACP and a module that you haven't bought throwing errors. mysterious.

Can you try going to this url please:
YOUR-SITE.com/core/admin/global

That should be the base location for the ACP. type in to the search box there "map" and see what comes back.

Thanks.
alt=
@itsken
7 years ago
53 posts
here are the screen shots ....
michael
@michael
7 years ago
7,714 posts
Whats the URL to see that error firing? the console seams to be saying its coming from a util.js file, but I cant see that file anywhere in our codebase.

have you added anything custom?
alt=
@itsken
7 years ago
53 posts
here's the url
michael
@michael
7 years ago
7,714 posts
not seeing the same thing on my test setup:

Try running the integrity check, reset the caches, make sure your system is up to date.

Also try running the "validate entries" tool
yoursite.com/gentimemap/admin/tools
markerjs.jpg
markerjs.jpg  •  249KB

testmap.jpg
testmap.jpg  •  706KB

alt=
@itsken
7 years ago
53 posts
I've validated the entries and found the geocodes for places in the tree.
The system is up to date.
What's interesting is that the map loads for a split second and then the error comes up does this across browsers .
I have since uploaded the galleries module, that's the only thing i've added to the system ...
michael
@michael
7 years ago
7,714 posts
yeah, strange. Maybe something in the gedcom file? did you use one of those to populate your system?

If you did, maybe the answer is in there, if its not a private one, could you attach that here and I'll try on my system. If it is private but ok to have a copy for testing could you send it to support at jamroom dot net along with a link to this thread.
alt=
@itsken
7 years ago
53 posts
Michael I sent it to the support email
michael
@michael
7 years ago
7,714 posts
Thanks, I'll get a dev site setup to see what happens with your gedcom file.
alt=
@itsken
7 years ago
53 posts
here is is
updated by @itsken: 03/22/17 02:08:24PM
michael
@michael
7 years ago
7,714 posts
got it, thanks. you can delete the attachment now if its private
michael
@michael
7 years ago
7,714 posts
This is a .gd3 file, do you have a .ged file?
gedcom_import.jpg
gedcom_import.jpg  •  264KB

alt=
@itsken
7 years ago
53 posts
here it is - sorry

--edit--
Got it, thanks.
michael
@michael
7 years ago
7,714 posts
This is working for me on my dev server, so that seams to point to the problem not being with the Gedcom file.

I can login to your site see if its the same as my site if you like. send the admin login details to support at jamroom with a link to this thread.
timemap.jpg
timemap.jpg  •  910KB

alt=
@itsken
7 years ago
53 posts
sent the creds ....
michael
@michael
7 years ago
7,714 posts
thanks. Been a little sick here, apologies for moving slowly.

Found this:
http://stackoverflow.com/questions/37403731/this-page-didnt-load-google-maps-correctly-see-the-javascript-console-for-tech
Quote: ....Google recently changed the terms of use of its Google Maps APIs; if you were already using them on a website (different from localhost) prior to June 22nd, 2016, nothing will change for you; otherwise, you will get the aforementioned issue and need an API key in order to fix your error. The free API key is valid up to 25,000 map loads per day......

So it seams like we need to update the Time Map module to allow for the input of a google API key.

We'll get that sorted and released.
michael
@michael
7 years ago
7,714 posts
There is a new version of Genosis Time Map in the marketplace now 1.0.7 that has a GLOBAL CONFIG in the ACP that allows you to enter a google maps API key.

Quote: Get your Google Maps Javascript API key from here: https://developers.google.com/maps/documentation/javascript/get-api-key to allow you access to the maps system.

Once the key is added your maps should work.
alt=
@itsken
7 years ago
53 posts
Thanks that fixed it

Tags