I have 4 different post types and 4 differey taxonomies Each term for each taxonomy stores a marker (url to a png icon). Each post has coordinates attached with Advanced Custom Fields and I'll probably use Geo Data Store to optimise scalability.
a) how would you ideally query for the posts which fall under a specified km radius by lat and lng with Wordpress? I'd like to avoid, if possible, direct db queries.
b) I'm going to store coordinates in a different table with Geo Data Store. But how about markers? Is it a good idea to store the icon/marker url of each term in a meta field for these terms?
c) in general, what do you think would be the best practice to approach the project outlined above? I'd like to avoid to use further plugins (except for ACF)
Thanks in advance for all your advices.