This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Phoca Maps - displaying maps in Joomla! CMS
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Post by amax2 »

Good morning everyone.
I'm creating this map https://www.s-moove.com/test/installatori.html but I have display problems. When the page loads you can see the map. Once the map loads, it gives me this error
This page didn't load Google Maps correctly. See the JavaScript console for technical details.
I have activated the JAVA API.
I have no problems with OpenStreetMap
Thank you
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

Re: This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Post by amax2 »

now I'm trying with OSM but the map no longer appears, but only the pins.
Thank you
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

Re: This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Post by amax2 »

I solved the problem of viewing Google maps, it was a matter of restrictions.
Now I see the map, but I don't see the inserted marker icon.
I still don't see the OSM map.

Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47905
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Post by Jan »

Hi, can you switch to OSM so I can take a look at it?

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47905
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Post by Jan »

Hi, on your site, there are still Javascript problems, so maybe they prevent from loading the map tiles:

Image

The problematic code is e.g. marked here:

Code: Select all

(function($) {
                    $(window).load(function() {
The site uses jQuery but even very obsolete mootools so the question is why?

Jan
If you find Phoca extensions useful, please support the project
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

Re: This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Post by amax2 »

In the meantime, I thank you for your courtesy and speed.
My site has been updated from version 3 of joomla. That could be the problem with finding obsolete things.
I'm not an expert and I don't know how to do it. Could you give me some hints about it or where to find info about it?
Thanks you are very kind
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47905
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: This page didn't load Google Maps correctly. See the JavaScript console for technical details.

Post by Jan »

Hi, first of all, I would try to test it e.g. with standard Cassiopeia template (without any specific modules, etc.) to see if there is no problem when using default template and extensions :idea:

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