I have a Settings API field for an address. The address is stored this form: "Address, City, Country".
Is there any way of creating / generating other options based on the one above? When I save the option I want it to generate and save latitude and longitude variables because I need them in order to display the address on the front-end (Google Map)?
Any ideas how to resolve that? I could do that on front-end but then I will have to request the data for every user, not only once and I don't want to do that (performance & there's 25k/monthly limit of requests). I don't want to create additional Settings API fields neither.