iphone_4s_web.jpgSAN FRANCISCO — Google Maps has found its way back to the iPhone. The world’s most popular online mapping system has returned with the release of the Google Maps iPhone app. The release comes nearly three months after Apple Inc. replaced Google Maps as the device’s built-in navigation system and inserted its own map software into the latest version of its mobile operating system.

Apple’s maps application proved to be far inferior to Google’s, turning what was supposed to be a setback for Google into a vindication.

The product’s shoddiness prompted Apple CEO Tim Cook to issue a rare public apology and recommend that iPhone owners consider using Google maps through a mobile Web browser or seek other alternatives until his company could fix the problems.

Among other things, Apple’s maps misplaced landmarks, overlooked towns and sometimes got people horribly lost. In one example brought to light this week, Australian police derided Apple’s maps as “life-threatening” because the system steered people looking for the city of Mildura into a sweltering, remote desert 44 miles from their desired destination. Google Inc., in contrast, is hailing its new iPhone app as a major improvement from the one evicted by Apple.

“We started from scratch,” said Daniel Graf, mobile director of Google Maps. The additional tools in the free iPhone app include turn-by-turn directions. Google’s previous refusal to include that popular feature on the iPhone app — while making it available for smartphones running on its own Android software — is believed to be one of the reasons Apple decided to develop its own technology. The increasing friction between Google and Apple as they jostle for leadership in the smartphone market also played a role in the mapping switch.

Google’s new iPhone mapping app also offers street-level photography of local neighborhoods for the first time on Apple’s mobile operating system, as well as three-dimensional views, public transit directions and listings for more than 80 million businesses around the world. The app still lacks some of the mapping features available on Android-powered phones, such as directions inside malls and other buildings.

There still isn’t a Google mapping app for Apple’s top-selling tablet computer, the iPad, but the company plans to make one eventually. Google, which is based in Mountain View, Calif., declined to say when it hopes to release an iPad mapping app. For now, iPad owners can use the maps in an iPhone mode. That won’t be the best experience, but it still may be better than Apple’s offering on the iPad.

The return of Google’s map app may encourage more iPhone owners to upgrade to Apple’s latest mobile software, iOS 6. Some people resisted the new version because they didn’t want to lose access to the old Google mapping application built into iOS 5 and earlier versions.