lon and lat feature not working suddenly

Phoca Maps - displaying maps in Joomla! CMS
rdgmitch2
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 22 Oct 2021, 13:57

lon and lat feature not working suddenly

Post by rdgmitch2 »

the feature to get longitude and latitude by adding an address is no longer working. site is on j 3.12 using maps version 3.0.12. was working yesterday, but not now. no updates have been done to the site or server that i know of. I wanted to add a screen shot but the link to show how is broken (404) I can still find and add lon and lat manually, but this was such a great feature.

since i can add a screen shot hear is the error message I get.

"Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details."

please advise
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48400
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: lon and lat feature not working suddenly

Post by Jan »

Hi, did you see the Javascript console for the errors?

Anyway you should update to latest Joomla and Phoca Maps version to be sure, all goes correct.

Jan
If you find Phoca extensions useful, please support the project
misopapa
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 31 Aug 2023, 15:19

I also have Maps JavaScript API ver 3.54 and no longer display maps

Post by misopapa »

On August 18, 2023, version 3.54.1 of the Maps JavaScript API was released.
At this timing, the map was no longer displayed.

In the Java console,
"This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly."
appears.

The release notes for 3.54.1 state
"The map is disabled when Array.from is overridden with an implementation that does not support iterables.".
is shown as
Reference
https://developers.google.com/maps/docu ... 2023-08-18

I wonder if a Phoca Maps code modification might be needed as a way to resolve this?
However, I am stumped as I am unable to do such a thing.

P.S.
I am sorry if some parts are difficult to read because I am translating by machine.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48400
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: lon and lat feature not working suddenly

Post by Jan »

Hi, I am testing now the latest version ( 4.0.1 on Joomla 4) and get no such problem. So the solution is probably to update your Joomla and Phoca Maps to latest version so it can accept new Google Maps API changes :idea:

Jan
If you find Phoca extensions useful, please support the project
misopapa
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 31 Aug 2023, 15:19

Re: lon and lat feature not working suddenly

Post by misopapa »

I see, my environment is also Joomla 3.10.12 and PhocaMaps 3.012. However, Joomla is giving me errors, so I am holding off on upgrading.
I am rebuilding my homepage little by little for Joomla 4, but it will take some time to solve the problem.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48400
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: lon and lat feature not working suddenly

Post by Jan »

OK
If you find Phoca extensions useful, please support the project
Post Reply