Loading map – please wait…
-
Hello,
I have been using this plugin on my website (http://www.heavenlygardens.org.uk/) for some time without fault, but now the map has stopped loading and instead i get the message: “Loading map – please wait…”
I have tried the troubleshooting options here:
https://www.mapsmarker.com/faqs/i-only-get-loading-map-please-wait-and-no-map/..but none of these make any difference.
-I have tried disabling all plugins except Leaflet
-I have tried loading scripts in header vs footerIs there any other way to troubleshoot what’s going on here
Many thanks
-
please try switching to another theme like twentytwelve to verify if that is caused by a theme conflict…
I have installed and activated twenty twelve theme – the problem still persists!
I have installed and activated the theme twenty twelve, however, the problem still persists.
Please turn on wp debug and also have a look into the php error log as well as the browser console when viewing the map to see if there are any additional error messages or warnings which might give a clue what is happening on your site. Also try re-uploading the current package via ftp, overwritting all existing files and check (for example together with your hoster) if any special file or folder permissions are set on your server which could cause this issue…
I checked the error console and found:
Uncaught SyntaxError: Unexpected token ILLEGAL (index line 403)
line 403:
var osm_mapnik = new L.TileLayer(“https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png”, {maxZoom: 18, minZoom: 1, errorTileUrl: “http://heavenly.globexposure.net/wp-content/plugins/leaflet-maps-marker/inc/img/error-tile-image.png”, attribution: “Map: © OpenStreetMap contributors (edit)”, detectRetina: true});
Does that mean anything to you?
In Internet Explorer the error console says:
SCRIPT5: Access is denied.
Strange thing is that in the source code a line break after your blog url for the parameter errorTileUrl gets added – can you have a look into WordPress Settings / General if the options “WordPress Address (URL)” and “Site Adress (URL)” are correct and have any special or hidden chars at the end of the string? (which could result in that linebreak, as the errorTileUrl is generated from plugin_dir_url() function)
OK so i altered the Site Address (URL) and now it all seems to be working fine.
Thanks for your help
- The topic ‘Loading map – please wait…’ is closed to new replies.