Page 1 of 1

Map pins not displaying

Posted: 15 Apr 2024, 18:23
by bekateen
Hi Jools,

When I look at various pages in the CLOGs, I don't see any map pins.

Cheers, Eric

Re: Map pins not displaying

Posted: 20 Apr 2024, 10:42
by Jools
Google wrote:As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. At this time, google.maps.Marker is not scheduled to be discontinued, but google.maps.marker.AdvancedMarkerElement is recommended over google.maps.Marker. While google.maps.Marker will continue to receive bug fixes for any major regressions, existing bugs in google.maps.Marker will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/deprecations for additional details and https://developers.google.com/maps/docu ... /migration for the migration guide.
I think this has something to do with it. Google made it more complex, but it should still work for a while. Given, I've not changed any of this code from some years there is something in this that must have broken it.


Bah. I need to do some rework....

Jools

Re: Map pins not displaying

Posted: 22 Apr 2024, 19:26
by Jools
OK, so the specific method we were using to draw pins on the map was switched off by Google. There are many new alternatives and what I've done is implemented a simple one. For now, this is half fixed because I still need to work out how to differentiate between type localities and occurrences (purple and green).

Cheers,

Jools

Re: Map pins not displaying

Posted: 22 Apr 2024, 19:56
by bekateen
Thanks for update. :-)

To be honest, I like the old stars for type localities, but we work with what we have, so a color difference works too.

Cheers,
Eric

Re: Map pins not displaying

Posted: 13 Aug 2024, 17:22
by Jools
This is now fixed.

Cheers,

Jools