There have been quite a few rumors about some in-built compass features for the upcoming iPhone, which though haven't been much of a hype before but seems to be making its way to the next gen iPhone, secretly.
Some "Apple Ninjas" seem to have unveiled it a few months before the official announcement of the new phone. They claim to have discovered these hidden preference panes in the latest 3.0 beta with the help of some debug menu tweaks. These compass features will be particularly helpful in geotagging and obviously finding out directions. This might have the same functionality as the G1 but I don't think Apple would "copy" anything from others.