Tagged: google maps
November 22, 2019 at 12:25 pm #1159092
In other browsers all is fine.
What to do?
ThanksNovember 25, 2019 at 11:13 pm #1160067November 26, 2019 at 8:10 am #1160216November 28, 2019 at 3:12 pm #1161001
Seeing the same problem here. For example, the header on this page. This appears to be a relatively recent failure: that page was working when I most recently updated it, a week ago. Safari has updated in the intervening time.
Chrome and Firefox show maps as expected.November 28, 2019 at 3:17 pm #1161004November 28, 2019 at 3:41 pm #1161009
I tried all other browsers, and it works in them, only Safari seems to block this.November 28, 2019 at 10:47 pm #1161113
Yea, this happens because Safari does not support it. Generally it is an old browser which is staying a lot behind into the updates.
BasilisNovember 28, 2019 at 10:51 pm #1161115
What Safari doesn’t support? I see Google Maps on other sites without issues.
Also, it worked well before the last update, never had an issue.November 29, 2019 at 12:56 pm #1161217
I think I’ve accidentally fixed this issue on my site while debugging a Gravity Forms embed issue, which turned out to be a result of a cookie consent problem: see this thread for details. Applying the fixes in posts #1145865 and #1146123 has sorted both Gravity Forms embed and Google Maps embed, in Safari.
@basilis, I get that Safari can be troublesome to support, but Safari clearly can support Google Maps embeds. Whether the changes above work around Safari limitations, or fix behaviour revealed by Safari being strict, is perhaps a matter of interpretation.December 1, 2019 at 1:07 pm #1161591December 1, 2019 at 5:43 pm #1161649
I just applied the fixes, and they don’t work.
I then disabled cookie consent message, and reloaded – and the maps worked. When I turned cookie consent back on, everything works. – I don’t know why tho. – This should be investigated.
December 3, 2019 at 1:35 am #1162041
- This reply was modified 1 month, 2 weeks ago by MORTULGAAH.
@mortulgaah I had to toggle Enfold’s script and stylesheet compression off and on (bottom checkbox in the Performance tab of theme options) to force it to rebuild the script include. One of those ‘standard practice’ things which keeps tripping me up.
@rikard: am I right in thinking these fixes will be in the next Enfold point release?December 3, 2019 at 11:59 am #1162154
@jjsanderson That haven’t occurred to me, nice tip for the next time. This definitely should go to next update.December 3, 2019 at 1:00 pm #1162184
I’m pretty sure it is in the 4.6.4 update: see this thread, and the line:
fixed: Bug Safari browsers throw a js error with cookie consentDecember 3, 2019 at 1:07 pm #1162189
You must be logged in to reply to this topic.