Hi,
I recently got helped with adding in the map marker to my view loop by using this shortcode:
[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' marker_field='wpcf-address'][/wpv-map-marker]
It worked, and I am only trying to figure out how to add pop-up information to this shortcode? I would like for users to be able to click on a map marker and I would display certain cpt fields to them.
Thank You!
The marker pop-up content simply goes between the opening and closing wpv-map-marker shortcodes, like so:
[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' marker_field='wpcf-address']
This is the corresponding post title: [wpv-post-title]
[/wpv-map-marker]
The map shortcodes are documented here: https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-marker
And the Views shortcodes are documented here: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/
My issue is resolved now. Thank you!