Do you know how to generate a json file in wordpress ?.
I'm trying to create a map where custom dots are manageable by Wordpress, I'm using the ACF Advanced Custom Fields plugin where you create a custom field of the map type and can print longitude and latitude if you want.
I was basing myself on this tutorial Creating a map with custom points in Google Maps , what I do not know is to generate the json file containing only this information I want, I saw that there is something called API REST , which generates json through the url.
The question is how to filter this. Someone there got to understand what I need and could help me?
UPDATE I was able to do it, I even solved the problem of grouping proxime points, if by chance someone has a problem like this, send me an email that I send the whole project ready.
E-Mail: [email protected]