Yes!!!!
After a lot of trial and error with my Ipod Touch over the past 12 months, I think I've finally figured out how to do it. It's an almost unknown feature, Apple does have any documentation on it, and I've been unable to locate any unofficial info about it either. This will only work when walking around in a city, it won't work as well in a car. I've only tested it with my Ipod Touch but it should also work with a WiFi only Ipad. This is what you do: 1. Before you leave for your trip you'll need to install an offline mapping app like "CityMaps2Go". You need offline maps because you will not actually be connecting to the internet while you are doing your sightseeing. 2. When you arrive in a new city you'll have to find a hotpot (hotel, Mcdonalds, Starbucks etc) and connect to the internet. This is the one and only time you need an internet connection. 3. Open either the built-in Apple "Map" app, or the Google Maps app, and open-up the "directions" option. Now enter any two points in the city, like from the train station to your hotel, or between any other two points of interest. After the app gives you directions the device will automatically load a database, from Apple, of all Wifi hotpots in the entire city! That database will now reside in the memory of the Ipod Touch even after you exit Google Maps, and until you reboot the device. Any other app that uses the location service can now access that database. continued....
...continued: 4. At this point you no longer need to be connected to the internet, but the device must still be in Wifi mode. As you are walking around the city the device will be detecting Wifi hotpots (but not connecting to them), the device reads the hotpots MAC serial numbers and in the background looks up the hotspot's coordinates off the database, and is able to determine and show your exact location anywhere you are in the city with an offline map app like CityMaps2Go. I've now used this feature successfully in Budapest, London, Manhattan, Toronto, and last week in Amsterdam and Hamburg. It's very accurate, determines your location in milliseconds, and I haven't come across in gaps in coverage.
Might this work in an iPhone as well?
It should work on an Iphone. But I believe Iphone's have a GPS chip built into them, so in theory you don't really need Wifi GPS.