You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem? Please provide sscce (short, self
contained, correct example) when possible.
initialize(add to map) a marker with custom bitmap icon
when marker A is clicked, it's icon need to be changed to another bitmap
So, I put marker.setIcon(some_new_bitmapDescripter) in the marker's
onMarkerCLick callback
it seems work fine first
but after create and click some markers repeatedly, app crashes with
exception
What is the expected output? What do you see instead?
I want to see markers changing their icon when clicked. but, exception comes
like below...
java.lang.IllegalArgumentException: Released unknown bitmap reference
at maps.aq.o.a(Unknown Source)
at maps.af.n.b(Unknown Source)
at maps.af.bk.a(Unknown Source)
at cpe.onTransact(SourceFile:204)
at android.os.Binder.transact(Binder.java:326)
at com.google.android.gms.maps.model.internal.d$a$a.i(Unknown Source)
at com.google.android.gms.maps.model.Marker.setIcon(Unknown Source)
at com.androidmapsextensions.lazy.LazyMarker.setIcon(LazyMarker.java:185)
at com.androidmapsextensions.impl.DelegatingMarker.setIcon(DelegatingMarker.java:188)
at com.livecity.s.activity.MainActivity.focusOnMarker(MainActivity.java:365)
The text was updated successfully, but these errors were encountered:
What steps will reproduce the problem? Please provide sscce (short, self
contained, correct example) when possible.
onMarkerCLick callback
exception
What is the expected output? What do you see instead?
I want to see markers changing their icon when clicked. but, exception comes
like below...
The text was updated successfully, but these errors were encountered: