Tell us what you are trying to do? I have embedded a map in an archive page that is also using parametric search. I'm trying to get the properties to display as markers in the map but for some reason it's not working. I also want the map results to update when the search is updated (I assume this works but since I'm not able to get the markers to show up I don't know for sure). I have added the address field to the custom post type and entered the addresses for multiple listings, so there should be marker data to be populated.
Is there any documentation that you are following? Yes—https://toolset.com/documentation/user-guides/display-on-google-maps/ . The only thing I can think of with this is that it designates setting the map and markers in a View; does that mean it won't work in an archive?
Is there a similar example that we can see? Yes—versteckter Link & versteckter Link
What is the link to your site? versteckter Link
Dear Josh,
I assume we are talking about this page:
versteckter Link
The google map should be able to work in the archive page too, please check these:
1) Follow our document to setup a Views WordPress archive:
https://toolset.com/documentation/user-guides/normal-vs-archive-views/
2) And I checked HTML source code of above page:
view-source:versteckter Link
There isn't any map marker in it, I suggest you enable the "debug" attribute of map marker shortcode, to check if there is anything wrong, for example:
[wpv-map-marker ... debug='true']
3) If the problem still persists, please try to deactivate other plugins and switch to wordpress default theme, and test again
Hi Luo,
Thanks for taking the time to respond. The debug was helpful. Looks like I had enabled the Geolocation API instead of the Geocoding API. Once I fixed that it started working properly.
Have a good one,
Josh