The coordinates are stored in a cache in the wp_options table, they are not stored as postmeta (which the address itself is), so are not amenable to being exported alongside the posts themselves.
If you look in the wp_options table you will find the cache stored as an array with the option name "toolset_maps_address_coordinates".
May I ask more about the sake of export.Is it possible
If i make the custom field called "Lat" and "Long"
Then make it auto input by the number from "Address field" Coordinate
I haven't tried to export the data using WP All Export, but I know you can pass the values to be exported through a function.
You can use these functions to get the lat and to get the lon for an address which you pass to them (the address will come from the address field you are exporting):
I have the example of the function that work before. I'm not so good with php, maybe you can figured out how it should work work.
This function I use to get the Province or District name which is the parent of the listing.
function get_place_title($relationship_slug){
// Get the ID of the parent post, which belongs to the "place" post type
$place_id = toolset_get_related_post( get_the_ID(), $relationship_slug, 'parent' );
// Get all the parent (place) post data
$place_post = get_post( $place_id );
// Get the title of the parent (place) post
$place_name = $place_post->post_name;
// Get the contents of the parent (place post
$place_content = $place_post->post_content;
return "$place_name";
}
Your question was how to export addresses with the latitude and longitude, but the code sample you provided in the last reply seems to be related to something completely different.
Could you please clarify what it is you are trying to do?