GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Display of Google Maps

Click to view RSS...
Author
Posted Monday, May 6, 2019 - Post #39849
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 3,408, Visits: 26,280
The advice given by Google's technial support does not restrict use of your key enough.  As it stands anyone could use your key in their pages on familytrees.genopro.com, should they manage to obtain the key, this is why I advised a more restrictive approach, although your password protection provides extra security here.  

I said:


If you use GenoPro's familytrees site can restrict access so that your key can only be used for your own reports by setting http referrers restriction to
 www.familytrees.genopro.com/your-username/*      e.g. familytrees.genopro.com/genome/*

To allow use on reports generated locally on your PC you can add an http referrer restriction of 
  
__file_url__//path_to_your_reports_folder/*     e.g.       __file_url__//C:/Users/ron/Documents/GenoPro%20Reports/*


and so in your case I suggest you use

familytrees.genopro.com/Jarmo/*

(I have just noticed the error in my earlier post, the www. prefix should be removed, as indicated by the strike-through text above.  N.B. Post has now been corrected)


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Monday, May 6, 2019 by genome
Posted Tuesday, May 7, 2019 - Post #39850
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Wednesday, March 12, 2025
Posts: 227, Visits: 1,614
Hello

Thanks for your comment.  I changed as you recommended.
What should I choose when Google asks:

"API restrictions

API restrictions specify the enabled APIs that this key can call:

Don't Resctrict key (this key can call any API)

or

Resctrict key"

Now I have Don't Resctict selected?

BR, Jarmo


Posted Tuesday, May 7, 2019 - Post #39852
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 3,408, Visits: 26,280
I don't think it is necessary to restrict which APIs are used but the only two needed are:

  • Maps Javascript API
  • Geocoding API         (used to attempt tp put a Place on a map when no corodinates are set for it)





'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, August 20, 2020 - Post #40729
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Friday, August 21, 2020
Posts: 1, Visits: 7
I followed genome's instructions and got everything working, I did the following:
And that's it:



Note: Your account must have credit card information or else it wont work. (It will fail to load the map)


Just wanted to validate and thank genome for the solution Smile.

Also, I made a short article on how to deploy your report to Github Pages, you may want to check it out:
Posted Thursday, August 20, 2020 - Post #40730
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 3,408, Visits: 26,280
Thanks genodarri Smile

I would just like to add that the Google Maps API key can be specified via the Narrative Report Configuration Parameters dialogue instead of via a custom tag.

I'd also like to reinforce the necessity to secure you key by adding HTTP referrer restrictions in the Credentials section for your project on the Google Developers Console to ensure the the key can only be used from web sites thatyou control. 


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, November 16, 2020 - Post #40933
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Gamma
Customers
GenoPro version: 3.1.0.1

Last Login: Sunday, February 4, 2024
Posts: 5, Visits: 32
Hi,


I have subscribed Maps JavaScript API and Geocoding API with an account Google Cloud Platform and I have accepted to be charged.So I have got an API Key that I have specified into Genopro 3.1.0.1 via the Narrative Report Configuration Parameters.

When I generate the report on my own we site, I get this error message :
[24.84] The Google Maps in this report will not display correctly as a Google Maps API key is now required. See http://support.genopro.com/Topic38774.aspx

And when I go on my web site I get another message wich say that it's impossible to load Google Map on this page.

May be I have forgetten something but I don't what...
Could you help me please ?

Regards
Mishou

Tags:

Edited: Monday, November 16, 2020 by 2144898
Posted Monday, November 16, 2020 - Post #40935
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 3,408, Visits: 26,280
I do not understand why you are getting that error message when generating a report if the Google API key has been entered in the Configuration Parameters

http://support.genopro.com/Uploads/Images/a1c922f3-364b-4bb6-8751-7e2d.jpg

However there is an updated version of the Narrative Report skin available see http://support.genopro.com/Topic40608.aspx


Using the latest version of the Narrative Report , if no key is entered then the a slightly different message given i.e. :

Google Maps requested for this report have been excluded as a Google Maps API key is now required. See http://support.genopro.com/Topic38774.aspx


Please install the updated skin and if report back if you still have problems


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Sunday, November 29, 2020 by genome
Posted Saturday, November 21, 2020 - Post #40950
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Gamma
Customers
GenoPro version: 3.1.0.1

Last Login: Sunday, February 4, 2024
Posts: 5, Visits: 32
Hi,

It's OK with the new skin Rapport narratif.
Thank you very much !!!

Just a warning about IrfanView.

Michel
Posted Friday, November 27, 2020 - Post #40961
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Gamma
Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Wednesday, April 12, 2023
Posts: 1, Visits: 9
I get this error when viewing the family tree on line. Please advise which steps are required to correct this. Thank you.


Posted Friday, November 27, 2020 - Post #40963
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 3,408, Visits: 26,280
So there are two ways to prevent this message from appearing when you open a Narrative Report. Firstly, follow the advice in the link shown in the message you are getting and set up a Google Maps API key and use that when generating the report.  Secondly, if you don't want to obtain a Google Maps API key, then inhibit the production of Google Map pages in the report by setting the appropriate checkbox in the Configuration Parameters dialog when generating the report.

If you download and use the latest Report Skins from http://support.genopro.com/Topic40608.aspx then Google Map pages will be inhibited automatically if no Google Maps API key has been entered.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!