I used the Toolset Maps to create a map from a custom CPT. I got the map to display, but I would like the title and address from my CPT to display when I hover the mouse over the marker. Can this be done with Toolset Maps?
Sorry, but I must be confused as my screen does not look like that at all. Attached is what my screen shows and the map only displays the CPT title. I want the title and the address field.
In the screenshot you've shared, the 'wpv-map-marker' shortcode can be seen that is being used to generate the map markers.
( screenshot: hidden link )
As shared in the example of that shortcode in my last reply, you can include the 'marker_title' attribute, to show any content in the mouse hover state of the marker:
I see that, but I do not understand how to get the CPT content to display within the marker_title. I have tried using shortcodes to no avail. What I want it the title of the CPT along with the address field. Please advise.
I've updated the map marker shortcode so that the post title ( [wpv-post-title] ) and the address field ( [types field="retail-address"][/types] ) are passed to the marker through the 'marker_title' attribute:
( screenshot: hidden link )