Fix: can not interact with maps at all on ionic 3
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.3.9-beta-20180718-1052" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
+<plugin id="cordova-plugin-googlemaps" version="2.3.9-beta-20180731-1317" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
<js-module name="BaseClass" src="www/BaseClass.js">
<runs />
@@ -269,7 +269,7 @@ The native map view is faster, use less network usage, display 3D views, and eve
Minimum required version of Android Support library v4 for this plugin.
https://developers.google.com/android/guides/releases
-->
- <preference name="ANDROID_SUPPORT_V4_VERSION" default="26.1.0" />
+ <preference name="ANDROID_SUPPORT_V4_VERSION" default="latest.release" />
<framework src="com.android.support:support-core-utils:$ANDROID_SUPPORT_V4_VERSION" />

MODIFY
www/googlemaps-cdv-plugin.js
www/googlemaps-cdv-plugin.js
@@ -141,7 +141,11 @@ if (!cordova) {
}
function onTransitionFinish() {
- if (cordovaGoogleMaps.MAP_CNT === 0 || !cordovaGoogleMaps.transforming) {
+ if (cordovaGoogleMaps.MAP_CNT === 0) {
+ cordovaGoogleMaps.transforming = false;
+ return;
+ }
+ if (!cordovaGoogleMaps.transforming) {
return;
}
cordovaGoogleMaps.transforming = false;

Fix: can not interact with maps at all on ionic 3 #2368