
In a typically Ionic application, that means setting transparency on elements such as IonContent and the root HTML tag to ensure that it can be seen. This means that as the developer, you must ensure that the webview is transparent all the way through the layers to the very bottom. On Android, the map is rendered beneath the entire webview, and uses this component to manage its positioning during scrolling events. This is resolved by modifying the module that declares your component to allow for custom web components. The plugin will automatically register this web component for use in your application.įor Angular users, you will get an error warning that this web component is unknown to the Angular compiler. The Google Maps Capacitor plugin ships with a web component that must be used to render the map in your application as it enables us to embed the native view more effectively on iOS.

This is requires a new release of the library from Google. The main Google Maps SDK now supports running on simulators on Apple Silicon Macs, however, a dependency from Google called Google-Maps-iOS-Utils does not yet support Apple Silicon. Read about Configuring ist in the iOS Guide for more information on setting iOS permissions in Xcode.

NSLocationWhenInUseUsageDescription ( Privacy - Location When In Use Usage Description).NSLocationAlwaysUsageDescription ( Privacy - Location Always Usage Description).To use this, Apple requires privacy descriptions to be specified in ist: The Google Maps SDK supports the use of showing the users current location via enableCurrentLocation(bool). Additional information about obtaining these API keys can be found in the Google Maps documentation for each platform.

This is required for all three platforms, Android, iOS, and Javascript. These can be obtained from the Google Cloud Console.

To use the Google Maps SDK on any platform, API keys associated with an account with billing enabled are required.
