Skip to content
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

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 #51

Open
barbar-binks opened this issue Oct 7, 2024 · 0 comments
Labels

Comments

@barbar-binks
Copy link

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

Screenshot 2024-10-07 at 5 14 27 PM

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
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

@ionitron-bot ionitron-bot bot added the triage label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant