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

GenoPro Support Forum




Replacement of Google Maps in the Narrative Report

Click to view RSS...
Author a switch to open source mapping using Leaflet with OpenStreetMap & Stamen.com map tiles
Posted Friday, February 12, 2021 - Post #41186
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: Yesterday @ 11:27 PM
Posts: 1,595, Visits: 32,481
Thanks for (usual) quick update. Problems solved. Only thing I have noticed is that the symbol for a map is a pin online but a compass arrow on the PC. Think I can cope with that
Posted Friday, February 12, 2021 - Post #41184
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 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
Thanks Appleshaw for testing.  I noticed a few things. All Saints Church Glossop does not have any Lat/Lang coordinates set. With Google Maps the script did a place name lookup but I haven't implemented this as yet with Leaflet/OpenStreetMap.  I need to remove the compass icon for places with no Lat/Lang values. Also the tooltip for that icon was wrong.

Your example still has the issue with mixed https/http references (i.e. using initial versions of gmap_places.js/htm) and so this is probably why terrain is not rendering.

I have spent most of today Googling, head scratching and  many trials and tribulations in order to sort out several more issues with location maps.  

I think I have now managed to resolve most if not all of these and so I will release an updated Report Skins package later today.






'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, February 12, 2021 - Post #41183
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: Yesterday @ 11:27 PM
Posts: 1,595, Visits: 32,481
https://familytrees.genopro.com/appleshaw/Hayfield/default.htm?page=family_map-fam28283227.htm
In Firefox both versions display but clicking the enlarge icon leads to blank screen
In Chrome the roads display but not the terrain. Enlargement also not working
Posted Thursday, February 11, 2021 - Post #41179
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Wednesday, November 12, 2025
Posts: 264, Visits: 1,760
Thanks, it seems to work fine now on both Chrome and Microsoft Edge.  Some terrain tiles are missing at certain resolutions in North America, as well as part of Europe.

The console errors I get appear to be the same as yours:

http://support.genopro.com/Uploads/Images/0451f66a-9431-4e86-b4bb-f49d.PNG
Posted Thursday, February 11, 2021 - Post #41178
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 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
NiKo, 

I have added your locations to a Harry Potter character and terrain map seems to work(sort of) .  The initial display is zoomed on too far but right clicking on the map and selecting Refresh Frame sorts it.  I will try and fix this

If I zoom around the town of Agrinion then some Stamen tiles are missing at certain zoom levels and this is indicated by error messages on the Developers Console (press F12)

http://support.genopro.com/Uploads/Images/0046b8e4-a44d-4414-a92c-bb98.png


http://support.genopro.com/Uploads/Images/21f9cd3e-a183-4ba2-b6cc-575b.jpg




What errors do you see on the Developers Console for Chrome?


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Wednesday, February 10, 2021 - Post #41177
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 days ago @ 5:49 AM
Posts: 64, Visits: 1,527
Läuft BigGrin
Posted Wednesday, February 10, 2021 - Post #41176
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Wednesday, November 12, 2025
Posts: 264, Visits: 1,760
The previous versions worked fine on my mobile phone (Samsung Internet), but didn't work with Chrome nor Microsoft Edge.

I replaced the two files you provided, and tried again ... same issue.

I then re-ran the report with the new files (not sure if that makes a difference), and still have the same results.

Not sure if you need it or not, but here are some of the Longs/Lats I am using.  I don't think that's the issue since I can see the terrain in North America and southeast Europe on my phone with no problems.

http://support.genopro.com/Uploads/Images/608f5560-a57f-4fe8-9abe-8045.PNG
Posted Wednesday, February 10, 2021 - Post #41175
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 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
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 (135 views, 7.86 KB)
gmap_places.htm (89 views, 3.94 KB)
Posted Wednesday, February 10, 2021 - Post #41173
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 days ago @ 5:49 AM
Posts: 64, Visits: 1,527
Dies ist ein Problem von Google Chrome.

Ich habe meinen freien Stammbaum mit drei Browsern geöffnet:

1. Google Chrome-Browser

http://support.genopro.com/Uploads/Images/84ef3ca6-ef8b-4f01-acf5-eed1.jpg

2. Firefox-Browser

http://support.genopro.com/Uploads/Images/b298ece0-4681-41b3-bec3-5ccc.jpg

3. Opera-Browser

http://support.genopro.com/Uploads/Images/f09672f7-59a8-4f22-bc6b-192c.jpg
Posted Wednesday, February 10, 2021 - Post #41172
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 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
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"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse