Page 1 of 1
Maps not displaying on CLOG pages
Posted: 21 Jul 2024, 20:38
by bekateen
Hi Jools,
None of the CLOG pages I've checked, or genus or family pages either, are displaying the maps. I don't mean the maps aren't refreshing, I mean there is no map on the page.
Cheers,
Eric
Re: Maps not displaying on CLOG pages
Posted: 22 Jul 2024, 19:01
by Jools
Yes, forum update combined with a less recent change at google means I need to rewrite how the maps work.
Jools
Re: Maps not displaying on CLOG pages
Posted: 27 Jul 2024, 08:04
by Jools
Also noting this is my priority but it is challenging work. The original JavaScript was written by @MatsP and it's a testament to that work it's lasted so long. However, it needs refreshed and it has in it some complex maths (for me anyway!), JavaScript and the new stuff Google has added. I'm also converting the geodata to be presented in JSON as opposed to XML.
I may be some time...
Cheers,
Jools
Re: Maps not displaying on CLOG pages
Posted: 04 Aug 2024, 10:06
by Jools
Good news! Maps are back!
I have got the new google code working with the new data format (JSON) and it's now back online. The less good news is that there is still a ways to go in terms of correctly zooming in the map based on the range of the markers within. Working that, and other aspects of it, now. I knew this one would be tricky, I've clocked up 29 hours working this so far.
Cheers,
Jools
Re: Maps not displaying on CLOG pages
Posted: 04 Aug 2024, 14:22
by bekateen
Yikes! Thanks for your labor! Good luck with the rest.
Cheers, Eric
Re: Maps not displaying on CLOG pages
Posted: 04 Aug 2024, 14:48
by Jools
No worries, I am getting there - I'll post here when things are looking closer to final. Meantime, if the maps don't work, try a hard refresh of the page.
Also, if anyone has any pressing changes they'd like to see on maps, now is the time. Not sure what is possible but I am hopping to have differnt colours or images for ytype localities versus occurences and also, if I can, get an inset map feature working whih shows a zoomed out overview of the main map.
Cheers,
Jools
Re: Maps not displaying on CLOG pages
Posted: 07 Aug 2024, 09:56
by Jools
Maps are back online to the level of functionality before the upgrade of behind-the-scenes tech. Changes to note:
- Type localities are purple with a star glyph.
- Occurrences are green with a certificate glyph.
- Removed the "don't place marker at Lat:0, Long:0 if body of water doesn't have Lat and Long set. This is to encourage me (and the team!) to get that data in.
Things for me to consider adding.
- Cloud sourced geo data (e.g. GBIF) in grey with a cloud glyph.
- Inset map showing wider geo-context.
- Text or links in the markers to do stuff (e.g. link to that species, or Body of Water pages, or even link to Admin edit that Body of water data).
Remember the BoFW tag also works in the forum:
Brahmaputra
Cheers,
Jools
Re: Maps not displaying on CLOG pages
Posted: 11 Aug 2024, 10:27
by Jools
I'm delighted to say the initial full release of the new maps is now online. Lot of speed, ease of amendment and customisation going forward is now in place as well as the new inset map feature which show an overview of the main map area to provide global context.
I know there will be issues and refinements, by all means post them here or raise new topics. Meantime, I'll move this issue into "resolved".
Cheers,
Jools