• Resolved mlplus

    (@mlplus)


    The list with location items shows up correctly, but the map takes very long time. Sometimes it shows up, but with all categories instead of the selected on. Sometimes it dows show up at all. For me it looks like it timesout and shows some default map with all categories.

    It works on IE (Windows 10) and Android, but not on Chrome for Windows 10.

    This occured when I installed our ltest version. I have cleared cache both in wp and Chrome.

    Page: https://www.skaneplus.se/karta_s

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mlplus

    (@mlplus)

    It’s also broken on other browsers!

    Plugin Author Franky

    (@liedekef)

    “other browsers” is a bit too wide … I just tested it here with the latest firefox and chrome on linux and it works just fine. Of course the behavior is a bit different now (by using async the page loads faster but the map is only rendered after the google api is completely loaded and ready, and since you have a huge amount of locations to show this can take a while).
    You can always try if this changes it for the better for you: go in eme_events.php and change lines 3683 and 3698 and remove the async and defer parts there.
    Now I also see that you load all your javascripts in the header, you should also try to use the EME option to load the javascript in the footer.

    Plugin Author Franky

    (@liedekef)

    Goog news: I’m finally able to reproduce it. It seems indeed that when loading the javascript in the header (EME setting), it fails in google chrome.
    Checking further there now …

    Plugin Author Franky

    (@liedekef)

    This fix should help (although with js in the footer the page will load much faster):
    https://plugins.trac.www.ads-software.com/changeset/1678957/

    Thread Starter mlplus

    (@mlplus)

    Ok thanks for the feedback! Changing to load js in footer solved the problem

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘eme_locations_map stopped working on Chrome in Windows 10’ is closed to new replies.