Can not control the map with the latest version
See original GitHub issueI’m submitting a … (check one with “x”) [X ] question [ ] any problem or bug report [ ] feature request
The plugin version: (check one with “x”) [ X] 2.0-beta3 (github) [ ] 2.0 (npm)
If you choose ‘problem or bug report’, please select OS: (check one with “x”) [ X] Android [ ] iOS
cordova information: (run $> cordova plugin list
)
cordova-plugin-browsertab 0.2.0 "cordova-plugin-browsertab"
cordova-plugin-buildinfo 1.1.0 "BuildInfo"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.7 "Console"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-globalization 1.0.7 "Globalization"
cordova-plugin-googlemaps 2.0.7-beta-20170908-1807 "cordova-plugin-googlemaps"
cordova-plugin-googleplus 5.1.1 "Google SignIn"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)"
cordova-plugin-nativeaudio 3.0.9 "Cordova Native Audio"
cordova-plugin-nativestorage 2.2.2 "NativeStorage"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova-universal-links-plugin 1.2.1 "Universal Links Plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
If you use @ionic-native/google-maps
, please show me the package.json
"dependencies": {
"@angular/common": "^4.3.6",
"@angular/compiler": "^4.3.6",
"@angular/compiler-cli": "^4.3.6",
"@angular/core": "^4.3.6",
"@angular/forms": "^4.3.6",
"@angular/http": "^4.3.6",
"@angular/platform-browser": "^4.3.6",
"@angular/platform-browser-dynamic": "^4.3.6",
"@angular/tsc-wrapped": "^4.3.6",
"@ionic-native/barcode-scanner": "^4.2.1",
"@ionic-native/core": "3.12.1",
"@ionic-native/device": "^4.2.1",
"@ionic-native/file": "^4.2.1",
"@ionic-native/geolocation": "^4.2.1",
"@ionic-native/globalization": "^4.2.1",
"@ionic-native/google-maps": "^4.2.1",
"@ionic-native/google-plus": "^4.2.1",
"@ionic-native/in-app-browser": "^4.2.1",
"@ionic-native/insomnia": "^4.2.1",
"@ionic-native/native-audio": "^4.2.1",
"@ionic-native/native-storage": "^4.2.1",
"@ionic-native/splash-screen": "3.12.1",
"@ionic-native/status-bar": "3.12.1",
"@ionic/storage": "2.0.1",
"@ngx-translate/core": "^7.2.2",
"@ngx-translate/http-loader": "^1.0.2",
"cordova-custom-config": "^4.0.2",
"firebase": "^4.3.1",
"fs-extra": "^4.0.1",
"geofire": "^4.1.2",
"ionic-angular": "3.6.0",
"ionicons": "3.0.0",
"ng2-cordova-oauth": "0.0.8",
"promise-polyfill": "^6.0.2",
"raven-js": "^3.17.0",
"rxjs": "5.4.0",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.12"
},
"devDependencies": {
"@ionic/app-scripts": "2.1.3",
"ionic": "3.9.2",
"typescript": "2.3.4"
}
Current behavior: Until the last beta version of the plugin I used (2.0.0-beta3-20170903-1743) the zoom gesture was working without problems. Now it’s not. What am I doing wrong? Did I miss something? I checked the documentation and my code seems OK.
const options = <GoogleMapOptions>{
mapType: 'MAP_TYPE_ROADMAP',
controls: {
compass: false,
myLocationButton: false,
indoorPicker: false,
mapToolbar: false
},
gestures: {
scroll: true,
tilt: false,
zoom: true,
rotate: false,
},
styles: [
{
featureType: 'all',
stylers: [{visibility: 'simplified'}]
}
],
preferences: {
zoom: {
minZoom: this.appConfig.pos.minZoom,
maxZoom: this.appConfig.pos.maxZoom
}
},
camera: {
target: new LatLng(35.0197067, 135.7756016),
zoom: this.appConfig.pos.initialZoom
},
building: false
};
this.map = this.googleMaps.create('map', options);
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
How to Fix Google Maps Not Working? [2022 Guide] - AirDroid
First, make sure that you're using the latest version of the Maps app. If you're not, you can update the app by going...
Read more >How to fix Maps when it crashes - Android - Google Maps Help
On your Android phone or tablet, go to the Maps app in the Play store. · Tap Open in Play store app. Avoid...
Read more >Error Messages | Maps JavaScript API - Google Developers
This behavior typically indicates issues with either an API key or billing. In order to use Google Maps Platform products, billing must be...
Read more >View maps on iPhone - Apple Support
In the Maps app , you can find your location on a map and zoom in and out to ... The button at...
Read more >InControl Map & Vehicle Navigation Updates - Land Rover
With the latest Map Downloader App installed onto your computer you will be able to update maps using your vehicle's VIN number and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed the bugs. Please reinstall from the multiple_maps branch.
Now its working, thanks !