Support » Plugin: Travelers' Map » Map not showing

  • Resolved vickyf

    (@vickyf)


    First of all thanks for the quick response on the other thread. Here some further details.

    1. Outside of elementor: when building the page I get no error. But I only see a gray area with zoom buttons when I view the page. When inspecting I get no error. Only when clicking the map area I get: Uncaught Error: Set map center and zoom first.

    2. Inside of elementor editor: When building the page and adding the traveler’s map short code I get: If you see this after your page is loaded completely, leafletJS files are missing.. This does not result in a specific error in console, only this:

    this page use the non-standard property zoom
    JQMIGRATE: Migrate is installed, version 1.4.1

    3. Inside of elementor editor: When I refresh the short code element, the above leafletjs error goes away. And the following error appears in console:
    Error: Map container not found. leaflet.js:5:41240

    4. Viewing the elementor build page: I see the gray map with zoom buttons as described above. I get an error when I click on it:
    Error: Set map center and zoom first. leaflet.js:5:43281

    Wordpress version: 5.2.5
    Elementor version: 2.9.4 (updated to 2.9.6, gets same results)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Camille V

    (@socrapop)

    Okay so, here is what I know about your errors:

    1. Previewing Travelers’ Map in Elementor Builder is not working and will never be (unless Elementor team changes their core code). Elementor is not loading all the informations (the markers) needed for Travelers’ Map to work. But the map still works on the final page.

    2. When a Travelers’ Map is inserted and doesn’t have any marker to show, it’s showing an empty leaflet grey area like you have. I will maybe do something for that in the next update.

    So you have 2 “problems” here, the first is Elementor “preview” not working, but that’s a known issue. (I will add it my plugin’s description in the next update).

    The second is that your map is not fetching any post or page with a marker, you should either:

    – Geolocalize posts or pages first (if not already)
    OR
    – Change your shortcode settings to match any geolocalize post or page, try the default shortcode to begin with.

    If you already done that and the problem is elsewhere, please tell me what other active plugins you have, and if it works when you deactivate them?

    Thread Starter vickyf

    (@vickyf)

    Current active plugins:
    – Astra
    – Elementor
    – Modern Events Calendar Lite
    – Void Elementor Post Grid Addon for Elementor Page builder

    All others I have turned off. No change, have one localized post and using the default shortcode.

    What I also noticed:
    When creating a post and adding the lon/lat the map there is also showing an empty leaflet grey area

    Thread Starter vickyf

    (@vickyf)

    Re-install of your plugin resolved the issue.

    Sorry for sending you on a wild goose chase. Thanks for your help!

    • This reply was modified 4 years ago by vickyf.
    Plugin Author Camille V

    (@socrapop)

    What I also noticed:
    When creating a post and adding the lon/lat the map there is also showing an empty leaflet grey area

    Mhh that is strange! Did you change anything in the Travelers’ map settings? Especially the “Tiles Server URL” setting?
    Also, do you have any error on the “create post” page?
    And is a marker showing on the map when clicking on it? (and filling the lat/lon fields below?)
    Is the marker already set when you reload the edit page? (If not, it means it’s not saving correctly)

    Just in case, try to uninstall and reinstall the plugin, maybe something went wrong (note that it will set your settings to default when uninstalling).

    Plugin Author Camille V

    (@socrapop)

    I’m glad it’s all fixed, I didn’t know a plugin installation could go wrong in WordPress ^^

    Have a nice day,
    Camille

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Map not showing’ is closed to new replies.