Thank you/..We're getting there!
Maps updated and second API key added. However my view shows every member, and the RED Target Marker is NOT the member from the POST.
example: this member post what is viewed.png
example: this is the view of the map on the page.png
Maybe this will help you understand what I'm trying to do? This is the clients OLD website, and an example of a member profile page and what I'm trying to replicate: hidden link
I'm okay with an alternative solution. If I could get the 4 closest just on the map with a marker, I may be able to convince my client otherwise about the images.
******
This was confusing on how to actually set up and what the result would be, since you already mentioned I couldn't display 4 profile images of nearby members. Did I mis-understand, and I can?
Your notes:
For the question "I would like to show other members nearby as markers", I assume we are talking about in a single "Member Profile" post, you are going to display other nearby member posts.
This is what I was trying to do: hidden link
If it is, yes, it is possible, for example, you can get current member post's address field value as text:
[types field='mbr-biz-address'][/types]
Pass it to below post view as filter parameter:
create a post view, query "Member Profile" posts, in section "Query Filter", add a distance filter:
Show posts within 50km radius of address/coordinates provided using mapcenter shortcode attribute.
See screenshot distance-filter.JPG
And display the view's shortcode as below:
[wpv-view name="VIEW-SLUG" mapcenter="[types field='mbr-biz-address'][/types]"]
And you can also display the marker as different icon, see our document:
https://toolset.com/documentation/user-guides/maps-shortcodes/#wpv-map-marker
marker_icon. Optional, defaults to empty, which means using the default Google Maps icons for markers, or the one set for the whole map. Can be a complete URL pointing to an image to use as marker image.
******
I don't understand what you mean here:
for example, you can get current member post's address field value as text:
[types field='mbr-biz-address'][/types]
Pass it to below post view as filter parameter: see
create a post view, query "Member Profile" posts, in section "Query Filter", add a distance filter:
Show posts within 50km radius of address/coordinates provided using mapcenter shortcode attribute.
See screenshot distance-filter.JPG
And display the view's shortcode as below:
[wpv-view name="VIEW-SLUG" mapcenter="[types field='mbr-biz-address'][/types]"]
I was able to create the query on the member profile and add a distance filter as indicated. My attempt at the shortcode showed nothing
Example of set-up: 50 radius.png
On this one:
2) Conditional fields: I was able to show "select" fields based on "if" value, but how do I display content instead of the value?
Please follow our document to setup the [wpv-conditional] shortcode:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/checking-types-fields-and-custom-fields/
If you need more assistance to setup this shortcode, you can also provide provide a test site with the same problem, point out the problem page URL, I can setup a demo for you.
This shows the issues I'm having: hidden link
I really appreciate your help. I have learned so much, and this site is so close to being finished. I can provide login details again, if it would help.
Thank you!
Laurie