• Resolved CB4YT

    (@cb4yt)


    I’ve been using the Leaflet Maps Marker plugin on my website: http://www.checkbeforeyoutrek.com

    For some reason I’ve been getting the following error in Safari Desktop, Safari Mobile (IOS), and Chrome Mobile (IOS): “loading map – please wait…”

    This seems to happen on all of the maps I have on my various pages.

    I’ve been going through the documentation on your main website (FAQs/Troubleshooting) as well as reading through others with similar issues on the WordPress Plugin Support Forum. I’ve tried a variety of suggestions already such as :

    – Never minify the following JS files: wp-content/plugins/leaflet-maps-marker/leaflet-dist/leaflet.js
    – General Settings – Misc – header (+ inline javascript) option is on

    I’m still getting the same issue. If I force reload the webpage in the browser then the map appears but if I reopen the page in a new window the issue happens again. I’m at a loss as to how to fix this issue.

    Any assistance you can provide me with would be very helpful.

    https://wordpress.org/plugins/leaflet-maps-marker/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,
    just checked the map on (latest) iOS Safari (iPad) & it works fine. Did I miss something here?
    best,
    Robert

    Thread Starter CB4YT

    (@cb4yt)

    I just tried again using an iPhone (Chrome & Safari) on both WiFi and cell data and the error still occurred. Issue is still present for me on Safari Desktop (Mac) and using Chrome & Safari on an iPad.

    It seems as if the error isn’t persistent, it occurs here and there. One of my sites visitors had contacted me initially to let me know that they couldn’t access the maps and then two days later said the maps worked fine. Could it be a cache issue? I’m using a combination of Cloudflare and W3 Total Cache.

    Another thing I have noticed is that the map on the main page (http://www.checkbeforeyoutrek.com/) will work about half of the time I try. However the map on one of my other pages (http://www.checkbeforeyoutrek.com/places/) seems to fail every time I initially load it using Safari on any device.

    Hi,
    I checked http://www.checkbeforeyoutrek.com/places/ with Safari 5 on Windows and the map was not shown (in contrast to Firefox or Chrome where it loads without issues). As the according fullscreen map at http://www.checkbeforeyoutrek.com/wp-content/plugins/leaflet-maps-marker/leaflet-fullscreen.php?layer=1 loads without any issues though, it seems likely that there is a conflict with another plugin or css/javscript from your theme. Have you already tried disabling all other plugins to verify that and to switch to a default theme like twentytwelve?
    You could also try to reproduce this issue with Maps Marker Pro which includes an optimized version of leaflet – I am just curious if this is a free version issue only….
    best,
    Robert

    Thread Starter CB4YT

    (@cb4yt)

    I have not tried disabling other plugins or switching to a default theme. I’ve never done anything like that, so the process is new to me. Is there a way to do this in a test environment so that the visitors to my website do not see any differences while I turn plugins on and off and change themes?

    I have already gone through a free trial of Maps Marker Pro. Is there a way to gain short term access again to see if the issue is a free version issue or not?

    Hi,
    best case would be of course if you had a test environment where you could temporarily disable all other plugins – if not, I would suggest installing a maintenance plugin and test this on your live site. Disabling and re-enabling plugins is usually not a big deal, anyway it is always advised to do regular (full) backups nevertheless, in case there is an (unlikely) issue.
    regarding pro version: you can try Maps Marker Pro 30 days for free – just use the integrated pro updater. You can always switch back to the free version at any time.
    best,
    Robert

    Thread Starter CB4YT

    (@cb4yt)

    When I disabled the W3 Total Cache plugin the maps appeared with out issue in Safari. I read in another support topic page that you also use W3 Total Cache. What are the correct W3 Total Cache settings to ensure that the Maps Marker plugin works correctly?

    The only thing you need to consider when using W3 Total Cache / Minify Option, is to add the following lines to “Never minify the following JS files:” within W3TC minify / advanced settings:

    http://www.youdomain.com/wp-content/plugins/leaflet-maps-marker/leaflet-dist/leaflet.js

    best,

    Robert

    Thread Starter CB4YT

    (@cb4yt)

    I actually already had that line added in the minify option. I use W3 Total Cache along with CloudFlare and was using W3’s minify settings because I was able to get faster page loads in various speed tests. As a test I switched back to using CloudFlare’s auto minify instead of W3’s and the map loads just fine on Safari now. It’s just that I take a bit of a hit on the page load time.

    good to hear that you could solve the issue. closing this ticket now.
    best,
    Robert

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Loading map issue’ is closed to new replies.