You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The requirement of google-maps on Android to make the webview transparent "all the way through" is too restrictive and makes it nearly impossible to embed a map view in an Ionic "page" of complex apps, for which viewing and manipulating maps is not the primary feature of the app.
Unless I'm missing something, it means an app must do some complex logic of toggling transparency of webview (on the html or body element and ion-content) and possibly hiding and showing of other content when navigating to and from a page that has maps in it. I'm sure there is a technical reason for this but it makes using the plugin so difficult that I'm wondering what use cases exist for which this is actually a viable implementation. If I'm missing something, I would appreciate any suggestions.
Please consider this a feature request to track the progress of "We are investigating alternate methods for Android still and hope to resolve this better in a future update."
To leave on a positive note, thanks, you have many great plugins! (Just having a little difficulty with this one.)
Platform(s)
Android, but not breaking a simple solution for iOS and Web.
Preferred Solution
Put the <capacitor-google-map> tag anywhere in the html hierarchy and have it just work.
Alternatives
Provide an API that the result of the map is an image (PNG) and if the user wants more map functionality, let the user open the maps app on their phone. Won't most users want to do this anyway?
The text was updated successfully, but these errors were encountered:
jimbarrett33
changed the title
google-maps plugin - remove "webview must be transparent" for the map to display on Android
google-maps plugin - remove "webview must be transparent" requirement for the map to display on Android
Nov 11, 2022
Feature Request
The requirement of google-maps on Android to make the webview transparent "all the way through" is too restrictive and makes it nearly impossible to embed a map view in an Ionic "page" of complex apps, for which viewing and manipulating maps is not the primary feature of the app.
Unless I'm missing something, it means an app must do some complex logic of toggling transparency of webview (on the html or body element and ion-content) and possibly hiding and showing of other content when navigating to and from a page that has maps in it. I'm sure there is a technical reason for this but it makes using the plugin so difficult that I'm wondering what use cases exist for which this is actually a viable implementation. If I'm missing something, I would appreciate any suggestions.
Please consider this a feature request to track the progress of "We are investigating alternate methods for Android still and hope to resolve this better in a future update."
To leave on a positive note, thanks, you have many great plugins! (Just having a little difficulty with this one.)
Platform(s)
Android, but not breaking a simple solution for iOS and Web.
Preferred Solution
Put the
<capacitor-google-map>
tag anywhere in the html hierarchy and have it just work.Alternatives
Provide an API that the result of the map is an image (PNG) and if the user wants more map functionality, let the user open the maps app on their phone. Won't most users want to do this anyway?
The text was updated successfully, but these errors were encountered: