Google Maps is broken

  • Harlock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 6 months ago #14434 by Harlock
Google Maps is broken was created by Harlock
Hi there,

I just noticed today that all the sites I have created using Zh Googlemap are showing a blank map.
To be more specific, they are showing for maybe 1 second when you reload the page and then get blank.
I get this alert in the 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.

After some research, many people talk about an issue with Mootools.
So I downloaded an extension preventing Joomla from loading Mootools.
This works: I mean Mootools is not loaded anymore and this alert disappears from the console.

But the maps are still not showing.

Maybe this issue has nothing to do with Zh, but I'm convinced you've heard about this issue and maybe have a fix.
Can you help??? Thank you!


 

Please Log in or Create an account to join the conversation.

  • Harlock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 6 months ago #14435 by Harlock
Replied by Harlock on topic Google Maps is broken
Hi again,

OK, sorry, I think I found what the problem was.
Google seems to keep on adding or changing the divs in the Google Map API. As a result, the elements I target with CSS to make them not displayed keep on changing as well.

So please don't bother working on this issue!
Take care.

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #14436 by Dima
Replied by Dima on topic Google Maps is broken
OK.
If you have troubles, give me link to map page. Without real view of result code of page with map I can't tell more details.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • Harlock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 6 months ago #14437 by Harlock
Replied by Harlock on topic Google Maps is broken
OK, thank you.
I know how fast and efficient your feedbacks are :-)

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago - 2 years 6 months ago #14438 by Dima
Replied by Dima on topic Google Maps is broken
Addition to this I can tell - I have CSS style names for any displayed objects of my map, and for map div too. You can manage to change it by your template. Main map div class you can define in map details (Advanced options tab, CSS Class field)

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 2 years 6 months ago by Dima.

Please Log in or Create an account to join the conversation.

  • Harlock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 6 months ago #14439 by Harlock
Replied by Harlock on topic Google Maps is broken
Well, not sure I understand what you mean.
Yes it seems I can add a class to the map or maybe add some CSS overrides. But that's already what i'm doing with my custom CSS file.

What I'd be happy to do for instance is to make some specific elements disappear. That's what I can do with my CSS override. But since Google keeps on changing the way maps are built, with new divs, then what I target with CSS changes as well :-/

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds

Donate


Go to top