Bug fix: app crash
MODIFY
src/android/plugin/google/maps/PluginMarker.java
src/android/plugin/google/maps/PluginMarker.java
@@ -79,7 +79,7 @@ public class PluginMarker extends MyPlugin implements MyPluginInterface {
if (pluginMap.objects.containsKey(objectId)) {
if (objectId.startsWith("marker_") &&
!objectId.startsWith("marker_property_") &&
- !objectId.startsWith("marker_imgSize_") &&
+ !objectId.startsWith("marker_imageSize_") &&
!objectId.startsWith("marker_icon_")) {
Marker marker = (Marker) pluginMap.objects.remove(objectId);
_removeMarker(marker);
@@ -162,6 +162,7 @@ public class PluginMarker extends MyPlugin implements MyPluginInterface {
if (pluginMap.objects.containsKey(objectId)) {
if (objectId.startsWith("marker_") &&
!objectId.startsWith("marker_property_") &&
+ !objectId.startsWith("marker_imageSize") &&
!objectId.startsWith("marker_icon_")) {
Marker marker = (Marker) pluginMap.objects.remove(objectId);
marker.setIcon(null);

Bug fix: app crash