Hi there,
when I load the map in the frontend I get the following warnings (Joomla 4.4.2 with Phoca Maps 4.0.2 and Content Plugin 4.0.1)
Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading
On a installation where I migrated from Joomla 3 to Joomla 4 and then reinstalled Phocamaps (same Version as above) I also get the following warning:
google.maps.event.addDomListener() is deprecated, use the standard
addEventListener() method instead:
https://developer.mozilla.org/docs/Web/ ... ntListener
The feature will continue to work and there is no plan to decommission
it.
Does anybody have an idea where these warnings come from? I think they weren't there some time ago.
Kind regards,
Tanja
Console Warnings when loading map
-
- Phoca Member
- Posts: 15
- Joined: 10 May 2013, 15:50
- Contact:
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Console Warnings when loading map
Hi, these are the warnings from Google Maps Javascript API, these are warnings for developers to change their code in the feature.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 15
- Joined: 10 May 2013, 15:50
- Contact:
Re: Console Warnings when loading map
Hi Jan,
thank you for your reply.
Are you planning to change the code and update the component?
Kind regards,
Tanja
thank you for your reply.
Are you planning to change the code and update the component?
Kind regards,
Tanja
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Console Warnings when loading map
Hi, I will take a look at it.
Added to feature request list: https://github.com/PhocaCz/PhocaMaps/issues/8
Added to feature request list: https://github.com/PhocaCz/PhocaMaps/issues/8
If you find Phoca extensions useful, please support the project