Safari5 Unable To Get Geolocation, Why?

With the latest release of Safari, the browser claims to support HTML5. A few days ago, I got a feedback that the NearBy Tweet prototype is not working in Safari5 (desktop). I never test it in Safari before, and turn out it doesn’t work due to no geolocation detected. So I tried, it was unable to show my location as well. See screenshot below.

After a bit of digging around, It turns out Safari5 is using CoreLocation (wifi triangulation) to get geolocation data and it is only works when Wifi is ON. If you are using Safari5 on PC just turn on your wireless and if you are using Mac, just turn on Airport. It works!!