Skip Navigation

[Resolved] Simulate click and hover events on a marker

This support ticket is created 6 years 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.

This topic contains 1 reply, has 1 voice.

Last updated by sachaB 6 years ago.

Author
Posts
#1154987

Tell us what you are trying to do?
find a marker on the map by hovering on the link that should locate it, or the ability to open a marker popup on demand

Is there any documentation that you are following?
https://toolset.com/version/maps-1-1/
https://toolset.com/forums/topic/clickable-list-of-locations-below-map/

Is there a similar example that we can see?

What is the link to your site?
hidden link

Code I use is:

Loop Editor
{code}
[wpv-layout-start]
[wpv-items-found]
[wpv-map-render map_id="map-3" general_zoom="4" map_height="450px" single_zoom="10" spiderfy="on" cluster="on" marker_icon="//dev-vrsadjusters.pantheonsite.io/wp-content/plugins/toolset-maps/resources/images/markers/Buildings.png" style_json="//dev-vrsadjusters.pantheonsite.io/wp-content/plugins/toolset-maps/resources/json/Silver.json"][/wpv-map-render]
<!-- wpv-loop-start -->
<table width="100%" class="wpv-loop js-wpv-loop">
<wpv-loop wrap="2" pad="true">
[wpv-item index=1]
<tr>
<td>
[wpv-post-body view_template="Loop item in Adjusters Search"][wpv-map-marker map_id='map-3' marker_id='marker-5' marker_field='wpcf-adjuster-address']<h4>[wpv-post-title]</h4><div>[/wpv-map-marker]<div>[wpv-post-title]</div>
</td>
[wpv-item index=other]
<td>
[wpv-post-body view_template="Loop item in Adjusters Search"][wpv-map-marker map_id='map-3' marker_id='marker-5' marker_field='wpcf-adjuster-address']<h4>[wpv-post-title]</h4><div>[/wpv-map-marker]<div>[wpv-post-title]</div>
</td>
[wpv-item index=2]
<td>
[wpv-post-body view_template="Loop item in Adjusters Search"][wpv-map-marker map_id='map-3' marker_id='marker-5' marker_field='wpcf-adjuster-address']<h4>[wpv-post-title]</h4><div>[/wpv-map-marker]<div>[wpv-post-title]</div>
</td>
</tr>
[wpv-item index=pad]
<td></td>
[wpv-item index=pad-last]
<td></td>
</tr>
</wpv-loop>
</table>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
{/code}

Loop Item
{code}
[wpv-post-title]
{/code}

#1155173

My issue is resolved now. Thank you!