Map Marker content for multi-locations (ACF) per post

<?php
/**
 * set marker content specific to ACF repeater
 * change 'locations_multi' to name of ACF repeater
 * change 'store' to name of map field within repeater
 * add other or different code as needed to $args['content']
 **/
add_filter( 'facetwp_map_marker_args', function( $args, $post_id ){

    $latitude = $args['position']['lat'];
    $locations = get_field( 'locations_multi', $post_id );

    foreach ( $locations AS $location ) {
        if ( (string)$location['store']['lat'] == (string)$latitude ) {
            $args['content'] = $location['store']['address'];
            break;
        }
    }

    return $args;

}, 10, 2 );