This thread is resolved. Here is a description of the problem and solution.
Problem:
How to display posts as markers on a map as well as listed in a table.
Solution:
A single View can generate the list of results in a table as well as display the same posts as markers on a map (assuming they have address fields).
You create a View to display the results in a table as normal, then include the shortcodes to output the map and the markers as described in the maps user guide list below.
Hi,
We have this page at the moment hidden link which shows a list of data from a custom post type.
I'm wanted to create another version of this similar to the below example where there is an enteractive map with a dynamic table below it based on custom toolset field types. hidden link
I can see that with our subscription of Toolset, we also have Toolset Maps available which I think can be used to establish this.
I couldn't find any specific documentation or samples to achieve this.
I don't know if you've read any of the maps documentation yet or tried to implement it.
Can you check the documentation and then if you are stuck somewhere let me know specifically what you are having problems with, then I can help.
You will be creating a View to display posts—which include an address field—and that View can output both the list of results (in tabular format if required) as well as the map with the markers on the map. Clicking on the results in the list can also focus on that marker on the map.
Let me know specifically what you need help with as you try to implement it.
Hi Nigel,
I've implemented the map successfully at; hidden link
I'm trying to make the map interactive so that when a user clicks on a marker, it navigates to the related row in the view below.
Looks like you opened another thread with Minesh so I'll let him deal with the details, but I'll just note that you can't directly do what you are aiming for.
Markers can have content within the shortcode that displays as a pop-up when the marker is clicked. Typically you would include a link to the post itself, but you could dynamically generate id attributes for the rows of your table (e.g. id="table-row-[wpv-post-id]") and then add anchor tags linking to the same to your marker content, so you click on the marker which produces a pop-up with a link, then you click on the link to go to the table row.