Title: leafletJS files missing with filter
Last modified: August 29, 2022

---

# leafletJS files missing with filter

 *  [p206ab](https://wordpress.org/support/users/p206ab/)
 * (@p206ab)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/leafletjs-files-missing-with-filter/)
 * Hello,
 * I’ve been trying to establish some kind of custom filtering of the markers and
   I’ve come up with a workaround:
 * An ajax form which on submit returns a shortcode “do_shortcode(‘[travelers-map]’);”
   with added parameters depending on the checkbox selection from the form, so for
   example if my form has checkboxes for “Hotels” and “Restaurants” checked, my 
   function would be updated on submit and shortcode returned [travelers-map cats
   =hotels,restaurants] and map basically refreshed.
 * But the issue is that everytime I’ve tried to do that, I get the same response:
   “
   Travelers’ Map is loading… If you see this after your page is loaded completely,
   leafletJS files are missing.”
 * Is there any way to force reload of the map via ajax call?
    Thanks.

The topic ‘leafletJS files missing with filter’ is closed to new replies.

 * ![](https://ps.w.org/travelers-map/assets/icon-256x256.jpg?rev=2100131)
 * [Travelers' Map](https://wordpress.org/plugins/travelers-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/travelers-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/travelers-map/)
 * [Active Topics](https://wordpress.org/support/plugin/travelers-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/travelers-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/travelers-map/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [p206ab](https://wordpress.org/support/users/p206ab/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/leafletjs-files-missing-with-filter/)
 * Status: not resolved