-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[@capacitor/google-maps] Refactor options and extend a method to update the map options #1617
Comments
Adding to this issue, I think it would be really nice to be able to update the map options as @AE1NS suggests. In my case I need to set setMyLocationButtonEnabled to false. My problem is that if I set enableCurrentLocation to true, on Android the default geolocation button is shown, even if I set |
@djabif The "disableDefaultUI" is only available for web. For iOS and Android only the config options declared on GoogleMapConfig are available. |
Are there any updates on this? |
Are there any uptades? |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out. |
Feature Request
Plugin
@capacitor/google-maps
Description
This feature request has 2 topics
Refactor options
google.maps.MapOptions
it could be removed fromGoogleMapsConfig
. I think you added it here, to show it in the documentation, but I would rather write a comment above the class, which properties fromgoogle.maps.MapOptions
are supportedMapType
class could be deleted, because its documented ingoogle.maps.MapOptions
update
method, see below):GoogleMapsConfig
like:google.maps.MapOptions
should be handled by the native code like:Add an update method for map options
The above defined changes should also be appliable by an update method, to change them after the map instantiation.
Platform(s)
Android
iOS
Web
The text was updated successfully, but these errors were encountered: