Fix null exception
when calling setDiv(null) in the js plugin. However, map resize event is also happening.
MODIFY
src/android/plugin/google/maps/PluginMap.java
src/android/plugin/google/maps/PluginMap.java
@@ -725,6 +725,11 @@ public class PluginMap extends MyPlugin implements OnMarkerClickListener,
@Override
public void run() {
+ if(mapCtrl.mPluginLayout == null || mapDivId == null) {
+ callbackContext.success();
+ return;
+ }
+
RectF drawRect = mapCtrl.mPluginLayout.HTMLNodeRectFs.get(mapDivId);
//Log.d(TAG, "--->mapDivId = " + mapDivId + ", drawRect = " + drawRect);

Fix null exception

 when calling setDiv(null) in the js plugin. However, map resize event is also happening.