• Resolved sis9

    (@sis9)


    Hi
    We’ve been working with this plugin for a while now and are really happy with it!

    Now we want to add two maps onto the same page (using Kadence Blocks Plugin to have tabs, one map per tab). They are two separate maps in the backend, they display different post types and are filtered via independent ACF fields.
    There are some issues we’ve run into, they all happen only for the second map in the second tab:
    1. The navlist appears empty upon page load, but the map shows the relevant markers. When we select a filter (dropdown or checkbox type) the map reloads and only shows the relevant markers and the navlist loads too. After deselecting said filter the map and the navlist now show all the markers that would/should be visible upon page load.
    2. Filters of type range/slider do not work on the second map, the posts/markers don’t get filtered. The posts/markers on the first map however disappear when slider filters on the second map are used.
    When the same ACF fields are used as filters with a different filter type (checkbox, dropdown, radio button) the posts/markers are filtered. We have double checked that all the affected fields are of type number in the ACF field group settings since we thought that could be the issue, but it seems it wasn’t.
    3. The reset button on the first map resets all the filters, navlists and maps of both the maps. The reset button on the second map seems to do nothing

    We looked through the support forum beforehand and saw this post https://www.ads-software.com/support/topic/multiple-maps-with-different-markers/ and tried to follow the advice. We have set up a new taxonomy that can be set for both post types and could be used as a filter on either/both maps. Using the display option with categoryfilter however did not seem to change anything for us. But the taxonomy is there in case it could be helpful with our issues.

    We also saw this page https://locateandfilter.com/2-maps-in-the-same-page/ in your documentation and thought it would be helpful, but it didn’t seem to include the information we needed.

    The second map works absolutely fine when displayed with the exact same settings on a separate page, the navlist is filled upon page load, the sliders work, the reset button works.

    So, is what we want to achieve, to have two maps displayed on the same page in separate tabs, even possible?

    Thanks in advance!

    (P.S. Full Disclosure: we have made some minor changes to the plugin code, like adding an if statement to the reset function, because for single post types the reset button would cause the map view to go to default start position instead of centering the single marker like it does upon page load.
    We would gladly provide you with a ZIP file containing the plugin files with our alterations)

    The page I need help with: [log in to see the link]

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

    (@dgamoni)

    Hi @sis9
    Multiple Maps was available earlier for pro versions and no more supports
    and this has not been tested with the ACF version branch

    I can add support this and you can send me your version of the plugin to [email protected]
    These will be paid improvements

    Thread Starter sis9

    (@sis9)

    Thanks for the quick reply!

    Do you have a rough estimate of how much that would cost?
    Also, would the updated code then be published as a new version of the pro version? We feel like this functionality might be interesting for other pro users as well

    Plugin Author dgamoni

    (@dgamoni)

    yes, all paid improvements are included in new versions
    It will take approximately 4-5 hours per 20e/h

    Thread Starter sis9

    (@sis9)

    Perfect, thanks!
    We have sent you an email with our plugin version.
    We would like to keep this thread open for now so that any other pro users looking for this functionality know that it is coming but not yet available. Hopefully that is okay with you

    Thanks in advance!

    Thread Starter sis9

    (@sis9)

    Thank you so much for your help! It all works beautifully now
    We are very happy with the plugin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.