-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
What steps will reproduce the problem? Please provide sscce (short, self
contained, correct example) when possible.
1. initialize(add to map) a marker with custom bitmap icon
2. when marker A is clicked, it's icon need to be changed to another bitmap
3. So, I put marker.setIcon(some_new_bitmapDescripter) in the marker's
onMarkerCLick callback
4. it seems work fine first
5. 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)
Original issue reported on code.google.com by wildr...@gmail.com on 15 Jan 2014 at 8:49
sarvarfx