cordova-plugin-googlemaps: Ionic: map disappearing and/or unexpected animation on tab switching

I’m submitting a …

  • question
  • any problem or bug report
  • feature request

If you choose ‘problem or bug report’, please select OS:

  • Android
  • iOS

cordova information:

com.googlemaps.ios 2.6.0 "Google Maps SDK for iOS"
cordova-plugin-device 2.0.1 "Device"
cordova-plugin-googlemaps 2.2.8 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"
"@ionic-native/core": "4.5.3",
"@ionic-native/google-maps": "^4.6.0",

Current behavior: When switching the tab in an Ionic app and then switching back to the tab with the map, the map sometimes disappears or does an unexpected animation from top left to bottom right. If you scroll in the other tab the map always disappears. After switching tabs a couple of times the map re-appears with the unexpected animation. See the following screen capture and demo code.

Expected behavior: The map not disappearing at least, best case no animation.

Screen capture or video record: http://sharedby.manuel-heidrich.com/qgdiFE/dP4alTDAOU

Related code, data or error log (please format your code or data): https://github.com/mahnuh/cordova-google-maps-issue-demo

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 3
  • Comments: 18 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@wf9a5m75 Is it possible to confirm what version this was merge in to master with?

Please reinstall the plugin from the multiple_maps branch.

The map is disappeared problem should be gone. 2166

Sorry, the support for ionic-native/google-maps is suspended currently. https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2162