{"action":"created","issue":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1544","repository_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps","labels_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1544/comments","events_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1544/events","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1544","id":241880385,"number":1544,"title":"app crashed","user":{"login":"bigbossmaher","id":15154710,"avatar_url":"https://avatars2.githubusercontent.com/u/15154710?v=3","gravatar_id":"","url":"https://api.github.com/users/bigbossmaher","html_url":"https://github.com/bigbossmaher","followers_url":"https://api.github.com/users/bigbossmaher/followers","following_url":"https://api.github.com/users/bigbossmaher/following{/other_user}","gists_url":"https://api.github.com/users/bigbossmaher/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbossmaher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbossmaher/subscriptions","organizations_url":"https://api.github.com/users/bigbossmaher/orgs","repos_url":"https://api.github.com/users/bigbossmaher/repos","events_url":"https://api.github.com/users/bigbossmaher/events{/privacy}","received_events_url":"https://api.github.com/users/bigbossmaher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-07-10T23:23:55Z","updated_at":"2017-07-12T22:49:04Z","closed_at":null,"body":"the app is crashed\r\n\r\n```\r\n  --------- beginning of crash\r\n07-10 23:20:39.776 6545-6545/com.parking.tunisie E/AndroidRuntime: FATAL EXCEPTION: main\r\n                                                                   Process: com.parking.tunisie, PID: 6545\r\n                                                                   java.lang.IllegalArgumentException: Unmanaged descriptor\r\n                                                                       at com.google.maps.api.android.lib6.common.k.b(:com.google.android.gms.DynamiteModulesB:162)\r\n                                                                       at com.google.maps.api.android.lib6.impl.o.c(:com.google.android.gms.DynamiteModulesB:75)\r\n                                                                       at com.google.maps.api.android.lib6.impl.db.a(:com.google.android.gms.DynamiteModulesB:334)\r\n                                                                       at com.google.android.gms.maps.model.internal.q.onTransact(:com.google.android.gms.DynamiteModulesB:204)\r\n                                                                       at android.os.Binder.transact(Binder.java:499)\r\n                                                                       at com.google.android.gms.maps.model.internal.zzf$zza$zza.zzM(Unknown Source)\r\n                                                                       at com.google.android.gms.maps.model.Marker.setIcon(Unknown Source)\r\n                                                                       at plugin.google.maps.PluginMarker$3.run(PluginMarker.java:149)\r\n                                                                       at android.os.Handler.handleCallback(Handler.java:751)\r\n                                                                       at android.os.Handler.dispatchMessage(Handler.java:95)\r\n                                                                       at android.os.Looper.loop(Looper.java:154)\r\n                                                                       at android.app.ActivityThread.main(ActivityThread.java:6119)\r\n                                                                       at java.lang.reflect.Method.invoke(Native Method)\r\n                                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)\r\n                                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)\r\n\r\n```\r\n\r\n\r\n- cordova-plugin-googlemaps 2.0.0-beta2-20170705-1715\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/comments/314919618","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1544#issuecomment-314919618","issue_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1544","id":314919618,"user":{"login":"wf9a5m75","id":167831,"avatar_url":"https://avatars0.githubusercontent.com/u/167831?v=3","gravatar_id":"","url":"https://api.github.com/users/wf9a5m75","html_url":"https://github.com/wf9a5m75","followers_url":"https://api.github.com/users/wf9a5m75/followers","following_url":"https://api.github.com/users/wf9a5m75/following{/other_user}","gists_url":"https://api.github.com/users/wf9a5m75/gists{/gist_id}","starred_url":"https://api.github.com/users/wf9a5m75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wf9a5m75/subscriptions","organizations_url":"https://api.github.com/users/wf9a5m75/orgs","repos_url":"https://api.github.com/users/wf9a5m75/repos","events_url":"https://api.github.com/users/wf9a5m75/events{/privacy}","received_events_url":"https://api.github.com/users/wf9a5m75/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T22:49:04Z","updated_at":"2017-07-12T22:49:04Z","body":"**You need to manage marker instances by yourself.**\r\n\r\nFor example,\r\n\r\n```js\r\nvar _globalMarkerList = [];\r\n...\r\n\r\nmap.addMarker({\r\n   ...\r\n}, function(marker) {\r\n    _globalMarkerList.push(marker);\r\n});\r\n\r\n\r\nfunction removeLastMarker() {\r\n   var lastMarker =  _globalMarkerList[_globalMarkerList.length - 1];\r\n   if (lastMarker) {\r\n      lastMarker.remove();\r\n   }   \r\n}\r\n```"}}
{"actor":{"display_login":"wf9a5m75"}}