We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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@6.0.1
Latest Dependencies: @capacitor/cli: 6.1.2 @capacitor/core: 6.1.2 @capacitor/android: 6.1.2 @capacitor/ios: 6.1.2 Installed Dependencies: @capacitor/cli: 6.1.2 @capacitor/core: 6.1.2 @capacitor/android: 6.1.2 @capacitor/ios: 6.1.2
Android
Enabling current location on Android also enables the current location button, this does not display on web or iOS and there is no way to disable it.
Consistent behaviour between all device types (web/Android/iOS), disabling button or an option to toggle
import { GoogleMap } from '@capacitor/google-maps'; const apiKey = 'YOUR_API_KEY_HERE'; const mapRef = document.getElementById('map'); const newMap = await GoogleMap.create({ id: 'my-map', element: mapRef, apiKey: apiKey, config: { center: { lat: 33.6, lng: -117.9, }, zoom: 7, }, }); newMap.enableCurrentLocation(true);
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug Report
Plugin(s)
@capacitor/google-maps@6.0.1
Capacitor Version
Platform(s)
Android
Current Behavior
Enabling current location on Android also enables the current location button, this does not display on web or iOS and there is no way to disable it.
Expected Behavior
Consistent behaviour between all device types (web/Android/iOS), disabling button or an option to toggle
Code Reproduction
Other Technical Details
Additional Context
The text was updated successfully, but these errors were encountered: