Hi there Adage,
Thanks for reaching out to us! Hopefully this is possible by pasting the snippet below in your theme’s (or child theme’s) functions.php file:
/* Tribe, override google map link with one build on coordinates */
function tribe_coordinates_url ( $url, $post_id ){
$coordinates = tribe_get_coordinates ( $post_id );
// bail if no coordinates
if ( !$coordinates['lat'] || !$coordinates['lng'] ) return $url;
//build new URL with coordinates
$url = 'https://maps.google.com/?q=' . $coordinates['lat'] . ',' . $coordinates['lng'];
return $url;
}
add_filter( 'tribe_events_google_map_link', 'tribe_coordinates_url', 10, 2 );
Please give this a try and let me know if it works for you,
Best,
Nico