- This topic has 8 replies, 2 voices, and was last updated 3 years, 5 months ago by Nick Duncan.
August 9, 2017 at 10:19 pm #29331whobodyincMember
Hello, have really enjoyed setting up maps for a new website, the info windows look great on desktop view but will not display at all on mobile. Apologies, I’ve looked through the forum and documentation and couldn’t find a fix or setting I may have missed.
An example can be found on this page: http://b6d.47b.myftpupload.com/destinations/california/
Thanks for any insight,
JayAugust 10, 2017 at 8:01 am #29341Nick DuncanKeymaster
Thank you for getting in touch and for using my plugin!
I see the problem. There seems to be another plugin (or your theme) loading the Google Maps API over-and-above our call to the API which produces this error: You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
This is most likely the cause that the infowindows are not clickable on mobile devices.
Just having a quick look at the source of your website, it appears that the Google Maps API has been added to the footer.php of your theme. Are you able to confirm this for me?
NickAugust 10, 2017 at 2:05 pm #29362whobodyincMember
Thank you for taking a look Nick! Yes, I’m using the enfold theme, their site recommended using your plugin for my map needs. I had trouble getting the Google Maps API to work at first then added the following to footer.php based on a forum recommendation:
Everything started working after I did this a while back but just noticed the issue with mobile yesterday.
JayAugust 10, 2017 at 2:46 pm #29365whobodyincMember
Hi Nick, I removed the script mentioned above from the footer and the maps are still working but still have the same issue on the mobile site, info windows won’t display. Appreciate any extra insights you may have.
JayAugust 11, 2017 at 8:30 am #29382Nick DuncanKeymaster
Sorry I only realized now that the infowindows are set to open when you hover over them with the mouse. This wont work on mobile devices as there is no “hover”. Please set your option for opening the infowindow to “click” for now. We will address this issue in the next release and automatically change it to “click” for mobile devices.
NickAugust 11, 2017 at 1:59 pm #29401whobodyincMember
Thanks Nick, all good, this will work and allow us to go live! Will look forward to the update in the next release. Again, really like this plug-in, incredible range of possibilities, made me look good in front of my client.
JayAugust 11, 2017 at 7:19 pm #29418whobodyincMember
Hello, we went live with the site and the maps are no longer showing up.
I added */.revealedamerica/* to my Google API project an hour ago and continue to get the following error:
Your site URL to be authorized: http://revealedamerica.com/destinations/
Is this a google issue or did I do something wrong?
Appreciate any suggestions, the client is panicking.
JayAugust 11, 2017 at 9:49 pm #29419whobodyincMember
Sorry, disregard, the issue was not related to the plugin. Fixed. Enjoy your weekend!
JayAugust 14, 2017 at 7:56 am #29445Nick DuncanKeymasterThis reply has been marked as private.
- You must be logged in to reply to this topic.