See:
Set up Find My on your iPhone, Mac, and other devices - https://support.apple.com/HT210400
"If you want to be able to find your lost device on a map, make sure that Location Services is turned on."
Share locations in Find My on your iPhone and other devices - https://support.apple.com/HT210514
The ability to find a device also depends upon which features (e.g., Find My Network) you selected in:
Set up Find My on your iPhone, Mac, and other devices - https://support.apple.com/HT210400#enablefindmy
Note that the possible location is denoted by a circle, not necessarily the middle of the circle.
If the device is having to rely upon wifi for its location see the section titled, "What if I don’t recognize the location shown in my sign in notification?" by clicking on the link for this support article 'Two-factor authentication for Apple ID' --> https://support.apple.com/HT204915