Thank you very much for the earlier, I did not see that feature
Another question on an unrelated subject
I'm using "
[types field='dress' format='FIELD_LATITUDE, FIELD_LONGITUDE'][/types]
in a view and it works fine
but I also need to access Lat and lon in a snippet
-------------existing code---------
$post_ID = get_the_ID();
if ( get_post_type( $post_ID ) == 'pilot') {
$start_post_ID = $_SESSION["startpostid"]; //first pilot post ID
$start_latlon = explode(",", get_post_meta($start_post_ID, 'wpcf-user-address', true));
$this_latlon = explode(",", get_post_meta($post_ID, 'wpcf-user-address', true));
$a = intval(distance($start_latlon[0], $start_latlon[1], $this_latlon[0], $this_latlon[1], "M"));
-----------------
obviously the " wpcf-user-address" is incorrect, can you please advise how I can access lat/lon within this code
Thanks, Les