|
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 9:17 AM
Posts: 3,466,
Visits: 26,890
|
I have become increasing annoyed with the way Google changed its policy a few years back regarding the use of the Google Maps javascript API, forcing anyone who wanted to use it in their projects to give Google their credit card details first, even if their usage was below their free limit. The Google Cloud platform and Developer's Console were not for the fainted-hearted or in-experienced with the site being a confusing minefield. It was also difficult to mitigate the risk of unexpected charges from Google by protecting your API key from misuse and to limit usage.I for one have therefore decided to delete my Google Cloud & API project account to remove this uncertainty from my life. Over the past week I have been looking into alternatives and can now announce a replacement using the popular LeafletJs javascript library using OpenStreetMap tiles and also two sets of tiles from Stamen. You can choose the initial layer used from these three but the others can be displayed instead via a layer control in the top right corner of the map. I have attached a zipped Common folder and to try it I suggest you rename your existing Common folder to allow reversion and download and unzip the attached into your GenoPro Report templates folder. Example images. OpenStreetMap OpenStreetMap with Stamen 'Terrain' tiles. |
|
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 9:17 AM
Posts: 3,466,
Visits: 26,890
|
Works fine in my neck of the woods (South of England). May be map tiles are incomplete for some locations. Any chance of a sample published to familytrees.genopro.com? or some lat/lang values?
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Friday, December 5, 2025
Posts: 64,
Visits: 1,528
|
Dies ist ein Problem von Google Chrome. Ich habe meinen freien Stammbaum mit drei Browsern geöffnet: |
|
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 9:17 AM
Posts: 3,466,
Visits: 26,890
|
Thanks Albert, your post gave me the clue to the problem. My testing was all on local files but using your web report I could see in the Chrome Developers Console some mismatch between https and http for Stamen map tiles. I needed to use different Stamen servers.
Amendments to Common\Code\gmap_places.js & Common\Code\gmap_places.htm seem to fix this. see attached
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
gmap_places.js
(137 views,
7.86 KB)
gmap_places.htm
(90 views,
3.94 KB)
|