Skip Navigation

[Resolved] Map not displaying in Chrome front-end

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 4.50 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Kenneth Horn 7 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#562618

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

#562620

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.

#562631

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.

#563503

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.