Tagged: google maps
-
AuthorPosts
-
November 22, 2019 at 12:25 pm #1159092
I noticed maps do not run in Safari on latest Enfold. My API Geocoding API is on and I tried modified javascript on from the thread below, however I couldn’t make it work.
In other browsers all is fine.
What to do?
Thanks
November 25, 2019 at 11:13 pm #1160067Hey MORTULGAAH,
What is your web site URL?
Best regards,
BasilisNovember 26, 2019 at 8:10 am #1160216This reply has been marked as private.November 28, 2019 at 3:12 pm #1161001Seeing 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 #1161004This reply has been marked as private.November 28, 2019 at 3:41 pm #1161009I tried all other browsers, and it works in them, only Safari seems to block this.
November 28, 2019 at 10:47 pm #1161113Hi,
Yea, this happens because Safari does not support it. Generally it is an old browser which is staying a lot behind into the updates.
Best regards,
BasilisNovember 28, 2019 at 10:51 pm #1161115What 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 #1161217I 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 #1161591Hi,
Thanks for sharing your findings @jjsanderson, maybe those fixes will work for you as well @MORTULGAAH?
Best regards,
RikardDecember 1, 2019 at 5:43 pm #1161649I just applied the fixes, and they don’t work.
EDIT
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.
- This reply was modified 4 years, 11 months ago by MORTULGAAH.
December 3, 2019 at 1:35 am #1162041@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 #1162184I’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 consent
December 3, 2019 at 1:07 pm #1162189That’s it then. :-)
-
AuthorPosts
- You must be logged in to reply to this topic.