[php]
function wpufe_update_wp_geo( $post_id ) {
if ( isset( $_POST[‘location_map'] ) ) {
list( $lat, $long ) = explode(‘,', $_POST[‘location_map']);
update_post_meta( $post_id, ‘_wp_geo_latitude', $lat );
update_post_meta( $post_id, ‘_wp_geo_longitude', $long );
}
if ( isset( $_POST[‘geo_title'] ) ) {
update_post_meta( $post_id, ‘_wp_geo_title', $_POST[‘geo_title'] );
}
}
add_action( ‘wpuf_add_post_after_insert', ‘wpufe_update_wp_geo' );
add_action( ‘wpuf_edit_post_after_update', ‘wpufe_update_wp_geo' );
[/php]
Using this code, it's updating wp geo lat/long perfectly.