Change gmaps version

<?php
/**
 ** change version of gmaps to load
 ** https://developers.google.com/maps/documentation/javascript/versions
 ** See: https://facetwp.com/help-center/facets/facet-types/map/advanced-map-customizations/#set-the-maps-javascript-api-version-to-load
 **/
add_filter( 'facetwp_gmaps_params', function( $params ) {
    $params['v'] = 'weekly';
    return $params;
});