Hello,
Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.
Could you please verify that you added the coordinates of your business in the option “Geo Coordinates” under WordPress Dashboard > Rank Math > Titles & Meta > Local SEO?

However, we have been able to replicate the issue and we will be releasing an update with a fix soon.
For now, if the issue persists, please edit the includes/modules/local-seo/class-kml-file.php file from WP > Plugins > Editor and got to line 31:

Replace this code:
$this->filter( 'rank_math/sitemap/locations/data', 'add_location_data' );
With this:
if ( ! Helper::get_settings( 'titles.use_multiple_locations', false ) ) {
return;
}
$this->filter( 'rank_math/sitemap/locations/data', 'add_location_data' );
Then, go to WordPress Dashboard > Rank Math > Titles & Meta > Local SEO and hit the save button.
That will fix the issue and you will be able to see the Locations.KML file correctly.
Let me know how it goes on your end. We are looking forward to helping you.
Thank you Jeremy,
I appreciated your help.
This resolves the issue. I think in the later version this code will be included.
Once again thank you for your help.
Hello,
We are super happy that this issue has been resolved. We will be releasing an update soon for a fix for everyone, and we really appreciate your kind patience regarding this matter. If you have any other questions in the future, know that we are here to help you.
If you don’t mind us asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.