I am trying to: Display Map on page with filters
Link to a page where the issue can be seen: hidden link
I expected to see: A map
Instead, I got: No map
I have map with filters displaying markers with infowindow (popup) using Ajax for filters without submit button. Works front-end in Firefox but not IE and not Chrome. It DOES work in Chrome backend when I'm logged in (I'm supervisor). Best guess for what is causing this and how to fix it?
Thanks
Hey. I just noticed that an identically constructed view for that map is working fine on another child site on a multisite install so there must be something in the View for that page that isn't working that is not set up right on that particular site. No response needed until I investigate it further, comparing the code in the two Views to see if there is a variance. I'll update this tomorrow.
Dear Kenneth,
I just tested the URL you mentioned above, there are lots of JS errors in it, for example:
Uncaught ReferenceError: jQuery is not defined at (index):12
(index):49 Uncaught ReferenceError: jQuery is not defined at (index):49
Uncaught ReferenceError: et_pb_form_placeholders_init is not define autoptimize_fa4ca1eae381f261ced1be879e66c24f.js:62
In case it might be a compatibility problem, please try these:
1) Deactivate other plugins and switch to wordpress default theme, and test again, there should not be any JS error in the problem page.
2) Follow our document to setup the map shortcode and marker shortcode:
Renders a map.
https://toolset.com/documentation/user-guides/maps-shortcodes/#wpv-map-render
Adds a marker on a map.
https://toolset.com/documentation/user-guides/maps-shortcodes/#wpv-map-marker
If the problem still persists, please provide a database dump file(ZIP file) of your website in below private detail box, I need to duplicate same problem and debug it in my localhost.
Well. I think the errors were related to JS in the header that I had mistakenly not removed but I believe that was unrelated to the problem.
I think the problem is that this View had been imported from another child site on a multi-site install that had (I thought) identical taxonomies.
I do not think this type of View when imported functions correctly. I basically rebuilt the View from scratch and it worked fine.
So problem resolved. Thanks.