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
As styles also exists in google.maps.MapOptions it could be removed from GoogleMapsConfig. I think you added it here, to show it in the documentation, but I would rather write a comment above the class, which properties from google.maps.MapOptions are supported
To prevent overhead, the MapType class could be deleted, because its documented in google.maps.MapOptions
The following methods could be removed and implemented within the options object (this would require to have a update method, see below):
getMapType
setMapType
enableIndoorMaps
enableTrafficLayer
enableAccessibilityElements
enableCurrentLocation
setPadding
There should be some additional options in GoogleMapsConfig like:
isCompassEnabled
isRotateGesturesEnabled
isTiltGesturesEnabled
isToolbarEnabled
isZoomGesturesEnabled
Some more properties of google.maps.MapOptions should be handled by the native code like:
gestureHandling
restriction
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:
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: