Good Lord.
Every WiFi network access point that has ever been in range of an iPhone has its network name (SSID) and GPS location (taken from the iPhone) stored and used by Apple.
Apple introduced a way to opt out in March 2024 - you must append the string "_nomap" to your SSID.
https://krebsonsecurity.com/2024/05/why-your-wi-fi-router-doubles-as-an-apple-airtag/
(h/t @briankrebs )
Incidentally that means, so long as your access point broadcasts its WiFi network name, you are also broadcasting (to everyone who can hear it) whether you've opted out. It's not just between you and Apple.
Not to mention that changing your SSID disconnects everything using it.
It just sucks all around.
@briankrebs