Hello Luo,
I am now having issues with styling the pop-up. Again, from the instructions it is not really clear how to call the different fields to populate the marker pop-up. I have used the fields outlined in this support document: https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-marker along with adding some additional calls to other wpcf fields but they are not appearing correctly. Can you please take a look at the screen shot I have attached to see what I might be missing or what the correct syntax is to do with the pop-up marker data.
Hello,
In your screenshot:
hidden link
You can click the button "Fields and Views", find and insert the map + markers + post title +other custom fields shortcodes within UI.
It should be able to avoid most mistakes.
Thanks for confirming the use of the 'Fields and Views' tab. However, I am still unclear of where I place these shortcodes in the View. I have tried a few different locations but keep getting the attached error. Can you please confirm the location of these shortcodes? Do I need to rebuild the Map Marker shortcode and use the aforementioned shortcodes in the html editor there?
It seems you have removed some required shortcodes, you can create a new post view, and test again.
If you need more assistance for it, please provide a test site with the same problem, fill below private message box with login details, also point out the problem page URL + view URL, I can setup a demo for you.
Yes, you can use HTML codes in map marker shortcode, for example:
[wpv-map-marker map_id='map-5-1' marker_id='marker-[wpv-post-id]' marker_title='[wpv-post-title]' marker_field='wpcf-partner-address']
[wpv-post-title]<br />
[types field='partner-address'][/types]<br />
[types field='partner-email'][/types]<br />
[types field='partner-phone'][/types]
[/wpv-map-marker]
One thing need to pay attention to, with Beaver builder, the map ID is "map-5-1" in frontend, as you can see I am using attribute map_id='map-5-1' in above codes
Issue is resolved, thanks for your assistance. I would suggest that Toolset look at updating the materials for create map views for those not using Gutenberg. It would be helpful in terms of troubleshooting some of the issues that arose with creating the map, map markers, etc.