I have two post types which both have a google address field and I try to show a google map with taxonomy filters and pagination on.
Link to a page where the issue can be seen: hidden link
When I go to the page, the view's list is full of records, but the map is empty (well, actually it shows some Africa continent area without markers. All the addresses are in Finland). Only after I EITHER choose some taxonomy OR click some page in the pagination the map gets rendered properly. After that it works perfectly.
Hello,
I have checked it in your website, When I go to the page, the google map ID is "map-1-1", see screenshot map-1-1.JPG, after choose some taxonomy, it is changed to ""map-1", the problem is abnormal, please check these:
1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again
2) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
Thank you Luo,
It seems to be another compatibility problem with Divi theme.
What would you suggest I do to get this solved?
Since it is a compatibility problem with DIVI theme, please provide a copy of your website in below private message box, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
I have tried the duplicator package URL, but get 400 error, please check it, you can update it in your own private message box:
https://toolset.com/forums/topic/start-view-empty-map/#post-1076136
OK, I can download the duplicator package, but it 4G size, it is too big to download, I suggest you provide the credentials of your website in below private message box, I just need to debug it in a live website.
Thanks for the details, I have done below modification in your website:
1)Edit the view "Jälleenmyyjät ja asennusliikkeet":
hidden link
in section "Loop Editor", move the marker shortcode from section "Loop Editor" to content template "Loop item in Jälleenmyyjät ja asennusliikkeet", and modify the marker shortcode attribute from:
To:
marker_id='marker-[wpv-post-id]'
2) Move map shortcode [wpv-map-render] to the page:
hidden link
as below:
<div class="palsta">[wpv-view name="jalleenmyyjat-ja-asennusliikkeet" cached="off"]</div>
<div class="palsta">
[wpv-map-render map_id="map-1" map_height="600px" fitbounds="on" cluster="on" spiderfy="on" cluster_min_size="5"][/wpv-map-render]
<button class="js-wpv-addon-maps-restore-map" data-map="map-1">Näytä koko Suomi</button>
</div>
Please test again, check if it is fixed or not, thanks
Thank you. Looks at first glance better, but actually now the map view doesn't change at all when choosing other page or taxonomy.
Thanks for the details, I am downloading the your website database dump file, trying to duplicate the same problem, will update this thread if there is any found
I have been able to duplicate the same problem using your database dump file + DIVI theme, and have escalated this thread to our 2nd tier supporters, will update here if there is anything news.
I have done below modification in your website, edit the problem page:
hidden link
Click the button "Käytä Divi-rakentajaa", and save the post, please test again, check if it is fixed or not. thanks
Thank you! Now it seems to work ok. It was some compatibility with Divi?
It seems to be a compatibility problem, the DIVI theme has changed the map ID.