Hello,
I’ve searched and can’t find an answer, so I try here.
Is there a way to build a WP Query to filter location (google maps field) according to some latitude / longitude.
Claryfying : I want to get all posts (with google maps field) which eg. have latitude in some range.
There’s no way I found and db value is just a string a I don’t want to resort to scraping it to get the info I want.
Thanks in advance.
Hi there,
I have run into same problem on one of my projects.
Have written a blog post about it, you can check my solution here: http://www.bobz.co/display-posts-google-map-radius-latitude-longitude-acf/
Hope it helps.
Cheers