Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author webaware

    (@webaware)

    G’day Enfy,

    The plugin does address lookups (geocoding queries) on the server side and stores the resulting coordinates in transients — temporary records — for up to 1 week. If it can’t resolve the address (e.g. Google can’t find it, or it has multiple results) then it lets the browser-side code try again. If it still can’t get a result, you get a pop-up alert in the browser

    The Flxmap Ignore Bad Address add-on works by throwing away any maps that didn’t get a server-side address lookup result. If it’s throwing away all of the maps now, that means that the plugin isn’t getting address lookup results. If the maps work OK when you deactivate that add-on, it means the addresses are OK, so it must be something on the server.

    I can only guess what’s going on, but maybe:

    1. you have added centre coordinates and address to the map, but the centre coordinates have the wrong format so it’s forcing an address lookup for every map
    2. you have a plugin that is messing up remote HTTP requests
    3. you have a plugin that is blowing up memcached and preventing transients from storing addresses, and your site is over the Google Maps API query quota

    I’d guess that the problem is #1, but it could be #2. Can you provide a link to the website please so that I can see one of the maps in question?

    cheers,
    Ross

    Thread Starter EnFi

    (@enfi)

    Hello Ross,
    thank you very much for your reply and for all details.
    I guess could be option 1.
    This is the shortcode with the coordinates:
    [flexiblemap address=40.701761,13.889911 region=”it” directions=”true” width=”100%” height=”200px”]
    Do you think the coordinates have the wrong format?
    Thanks!
    Enfy

    Plugin Author webaware

    (@webaware)

    Try putting quotes around the coordinates.

    cheers,
    Ross

    Thread Starter EnFi

    (@enfi)

    Hello Ross,
    you are very kind.
    I tried with quotes [flexiblemap address=”40.701761,13.889911″ region=”it” directions=”true” width=”100%” height=”200px”] but unfortunately doesn’t work…
    When I deactivate Flxmap Ignore Bad Address the maps are showed correctly.

    I installed Flxmap Ignore Bad Address just to avoid that the browser shows the Javascript alert.
    Do you have any other solutions, please?

    Thank you very much
    Enfy

    Plugin Author webaware

    (@webaware)

    I’ll try your map in my test environment tomorrow morning and see what it does for me. Will get back to you.

    cheers
    Ross

    Plugin Author webaware

    (@webaware)

    G’day Enfy,

    With the cold light of the morning, I can see that you’re using coordinates as the address. That actually works OK for me in my testbed, but maybe it’s failing when the query comes from Italy (i.e. Google might be handling it differently by geo-IP).

    I’d recommend that you change the map to either use an actual address, and/or use the center attribute for the coordinates and the title attribute for the pop-up title, like this:

    [flexiblemap center="40.701761,13.889911" title="40.701761,13.889911" region="it" directions="true" width="100%" height="200px"]

    cheers,
    Ross

    Thread Starter EnFi

    (@enfi)

    Hello Ross!
    Thank you very much! Really kind, now it works!! ??
    The only problem now is that we have a large number of posts with the old shortcode…is there anything else that we can do with the plugin Flxmap Ignore Bad Address to avoid the no showed map?
    Thanks again! Have a nice day!
    Enfy

    Plugin Author webaware

    (@webaware)

    G’day Enfy,

    For existing maps, you can install this add-on:

    https://gist.github.com/webaware/610810443c96f601960bb59659ac9958

    cheers,
    Ross

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Flexible Map Flxmap Ignore Bad Address = No Maps’ is closed to new replies.