New home › Forums › Pro Add-on › Troubleshooting › Markers don’t load on mobile
- This topic has 1 reply, 1 voice, and was last updated 3 years ago by [email protected].
March 2, 2020 at 2:50 pm #58145gillyfleurParticipant
Our map is on a work in progress website – I’ve taken the Coming Soon page off so you can see it: https://essentialmontenegro.com/interactive-map/
It works fine on desktop, but on my mobile it doesn’t load the markers and I can only see a trio of ‘loading’ dots.
My phone is a Samsung android and I’ve tested on Chrome and Samsung Internet apps with the same result. Similarly my client has an iphone and sees the same.
Please can you help?
CherylMarch 3, 2020 at 8:23 am #58159[email protected]Member
Thanks for getting in touch with us.
I had a look at the site via mobile and did some further debugging and it seems to be happening due to an issue with the compressed path variables.
Could I kindly ask you to log into your WordPress dashboard and navigate to Maps > Settings > Advanced Settings and enable the option labelled “Disable Compressed Path Variables” and click on the button to save the settings.
Once saved, could I kindly ask you to have another look and confirm if it is correct?
Thanks for your time and I look forward to hearing back from you.
DylanMarch 4, 2020 at 6:45 pm #58186gillyfleurParticipant
Thanks very much for your reply.
Sorry to say that it doesn’t seem to have made a difference after I enabled that option.
Could you kindly check again please?
CherylMarch 5, 2020 at 8:43 am #58193[email protected]Member
Thanks for the response.
I had a closer look and it seems to be due to the page loading over HTTP and requesting the resources over HTTPS. This is causing a cross origin request error and not loading the markers.
If you load the site on mobile over HTTPS, by following this link for example, it works correctly:
As it is not secure to allow cross origin access to your site, could I kindly ask if you have considered redirecting your HTTP traffic to HTTPS as this is the most secure.
There are WordPress plugins that allow you to redirect to the secure version of your site which should fix this, and could I kindly ask if you would be open to this?
Thanks for your time.
- You must be logged in to reply to this topic.