I have a company listing in which each can have multiple locations (repeatable field group). I created a view for the location repeatable field group to loop and return the map markers and using that view in archive page in company post loop. But, the markers are not getting rendered on the map.
hidden link
Loop item in Company map markers
[wpv-map-marker map_id='company-archive-map' marker_id='marker-[wpv-post-id]' marker_field='branch-address']
<h5>
[types field='company-logo' title='[wpv-post-title item="$current_page"]' alt='[wpv-post-title item="$current_page"] Logo' size='custom' height='50px' resize='proportional' item='$current_page'][/types]
[wpv-post-link item='$current_page']
</h5>
<i class="fa fa-map-marker"></i> [types field='branch-address'][/types]
[/wpv-map-marker]
Loop item in Companies Archive
<div class="company">
<a href="[wpv-post-url]" class="company-logo">
[types field='company-logo' title='%%TITLE%%' alt='%%ALT%%' align='center' size='thumbnail' resize='proportional'][/types]
</a>
<h3>[wpv-post-link]</h3>
[wpv-view name="company-map-markers"]
</div>
Companies Archive Output
[wpv-map-render map_id="company-archive-map" map_height="360" scrollwheel="off" cluster="on" spiderfy="on"]
<h3>Filters</h3>
<hr>
[wpv-filter-meta-html]
<hr>
[wpv-layout-meta-html]
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Sasan,
Thank you for contacting our support forum.
Would you mind providing me with access to the site so that I can check on this for you ?
The private fields will be enabled for your next response.
Thanks,
Shane
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Sasan,
I took a look at this for you and it should be working now.
Thanks,
Shane
Shane, It seems the problum was with the slug used. Got it solved. Thanks for your time.
Shane,
Another prob, markers did showup but for all marker popups its us same name and logo instead of using the right company details. Like if you see location of Smart3Dme, its showing logo of think3D and title also think3D. I am using
[wpv-post-link item='$current_page']
but still its not giving the proper result.
Also, the city filter is not working.
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Sasan,
I see the issue that you are talking about.
However I would recommend opening a new ticket for this one so that we can handle it there as the original issue of this ticket is resolved.
Thanks,
Shane
Ok doing that.
Just didnt want to have multiple tickets open for the same page.