Tell us what you are trying to do?
I have two custom post types, Listings and Parks. One park can have many listings. Each listing can have an address, or it can be related to a park, which has a park address. I have a map with a view marker that is set to the view block of Recent Listings, and the field selected is the Park address (from related parent Parks). However, nothing shows up on the map and it is centered somewhere in the ocean. If I select to show the listing address, the map works fine.
Is there any documentation that you are following? No.
When you add a Map that gets its markers from a View block on the same page, the source for the markers is the post type chosen in the Content Selection for the View.
In the settings for the markers (visible in your screenshot) there isn't an option to refer to something else, e.g. the parent of the posts in the View, so I'm not quite sure what exactly you are trying to do.
If you want to display a list of listings but markers of parks, you can use 2 Views, one to output the listings, and another one to act as a source for the map where the content selection is park posts themselves. You don't have to add anything to the output of the View, it can output nothing, just serve as the source for the map.
What I want to do is have the markers on the map show the Park addresses. In field selector for the block, there are two options: Listing Address (a custom field in Listings) and Park Address (a custom field in the parent Park). Which makes me think it should be able to show the Park Address, since it allows me to select it. Is my assumption incorrect?
Is there some documentation on how to add a nested view? When I tried to add one it said "Nested views creation is not supported at the moment." Maybe I'm doing it the wrong way? Or does this not work with Toolset Blocks yet? I have tried creating a view within a view, and also creating a view outside and then moving it inside the view block. Both ways I get the message that it is not supported.
- replace "map-1" with the map ID set in the map block.
- replace "park-location" with the actual slug of the "Park address" field.
- replace "park-listing" with the actual slug of the Park Listing relationship.
This will make the map marker get the address information from the current listing's attached park post.
The map ID is right, and so are the slugs for park address and the park listing relationship. But still nothing shows up on the map. What am I missing???