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/[email protected]
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 iOS
Defining minZoom or maxZoom in create options config work on web but have no effect on Android or iOS
minZoom
maxZoom
config
Defining minZoom and maxZoom in create options config to apply min/max zoom to map instance on all device types (web/Android/iOS)
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, minZoom: 6, maxZoom: 8, }, });
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug Report
Plugin(s)
@capacitor/[email protected]
Capacitor Version
Platform(s)
Android
iOS
Current Behavior
Defining
minZoom
ormaxZoom
in create optionsconfig
work on web but have no effect on Android or iOSExpected Behavior
Defining
minZoom
andmaxZoom
in create optionsconfig
to apply min/max zoom to map instance on all device types (web/Android/iOS)Code Reproduction
Other Technical Details
Additional Context
The text was updated successfully, but these errors were encountered: