ionic-team / ionic-team/capacitor-google-maps
Is the option in the CreateMapArgs for disabling default UI coming back? the parameter disableDefaultUI is causing an issue because this is not a known property of GoogleMapConfig
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
## Bug Report
### Plugin(s)
@capacitor/google-maps v6
### Capacitor Version
```
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
Installed Dependencies:
@capacitor/android: not installed
@capacitor/ios: not installed
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
```
### Platform(s)
iOS
Android
Web
### Current Behavior

when I try and set the property "disableDefaultUI" in GoogleMap.create().config I get this error:
> Object literal may only specify known properties, and 'disableDefaultUI' does not exist in type 'GoogleMapConfig'.
### Expected Behavior
before, this would disable all the buttons in Google Maps so the user could not enter street view, set the map to fullscreen, or change the map type from the UI.
### Code Reproduction
sample app repository: [https://github.com/barbar-binks/demo-maps](url)
steps to reproduce the error:
- fill in the maps variable to include your Google Maps API key (can leave blank but will show watermark)
- fill in the mapId variable with a map id of your choosing (can leave blank)
- you will find the "disabledDefaultUI" property commented out, uncomment it to reproduce issue.
### Other Technical Details
- Framework: Ionic 7.2.0
- IDE: Visual Studio Code 1.93.1
- Platform: Mac OSX Sequoia 15.0
- Node.js: 20.15.1
- VS Code Extensions: Ionic (Official), Ionic Snippets (fivethree),
### Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.