Open Google Maps from your iOS app
Blog post from Google Cloud
Originally posted on the Google Geo Developers Blog, the article by Todd Kerpelman discusses the OpenInGoogleMapsController, a utility for iOS developers to simplify the process of opening Google Maps, Street View, or directions directly from their apps using custom URL schemes. By using Objective-C classes and types, developers can construct map requests with the advantage of type-checking and code hinting in Xcode, rather than manually creating URLs. The utility supports fallback strategies, allowing map requests to open in Apple Maps if Google Maps is not installed, or in Google Maps via Safari or Chrome if needed. It also fully supports the x-callback-url standard, enabling users to return to the original app after viewing the map. The article encourages developers to integrate this utility into their projects and provide feedback or enhancement requests through the GitHub repository.