• Resolved Imonix2691

    (@imonix2691)


    A smashing plugin thank you.

    We have noticed that on our website, after a search is done on the Travelers’ map using the maps search field and a user then tries to scroll the page up away from the map, the page automatically recenters onto the map.

    This recentering process repeats every 1 seconds approximately.

    • This topic was modified 4 years, 6 months ago by Imonix2691.

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

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

    (@socrapop)

    Dear @imonix2691,

    Thank you for the bug report, I managed to reproduce it. It also happens on the backend search module!

    I’ll try to find out if the bug is from my plugin or from the Leaflet Search module plugin I use. It looks like the window is scrolling to always see the search input after a search. I used an option to never close the search input (best for User Experience in my opinion), maybe this is the problem.

    • This reply was modified 4 years, 6 months ago by Camille V.
    Plugin Author Camille V

    (@socrapop)

    Okay, I found the problem, it will be fixed in the next update. I’m currently not able to upload it, beacuse I’m currently working on it.

    In the meantime, you can fix the problem by modifying a file in travelers-map\includes\public\js\travelersmap.js

    Search for the line 211 and change autoCollapse: true, to autoCollapse: false,.

    Anyway, I’ll try to update soon 🙂

    Thread Starter Imonix2691

    (@imonix2691)

    Thank you Camille,

    I’ll be using your map to populate it with thousands of locations. You’ve probably seen the work that has been done using it already.

    It’s a brilliant plugin and so responsive.

    Thanks again.

    Plugin Author Camille V

    (@socrapop)

    That’s nice to hear! I did my best to speed up the query for website like yours with thousands of posts, I hope it’ll be enough 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Travelers’ Map automatically recenters’ is closed to new replies.