WiFi antennas are naturally omni-directional and this means that they produce an even EM coverage to potential users in their localized area. An omni-directional field pattern means they cannot target "direction" like a radar does. On the other hand, if they used antenna diversity they could take a stab at it.
As regards distance (range), the amplitude of an RSSI signal does not inherently define the distance something is from the WiFi centre. For a start, a device's emitted RF power may not be precisely defined hence RSSI is just a received signal strength indicator.
RSSI does not permit the WiFi to tell the difference between something emitting 4 mW at a certain distance compared to something else emitting 1mW at a quarter of the distance. So how can the the WiFi measure range adequately?
Walls, windows, metal, water, people all modify the signal amplitude to a great extent. Signal attenuation, signal fading all make it really tricky to judge range.