Markers disappears after zoom in,out and in again
I created my own map project and added the head version of 'library' in my root folder, added it to my settings.gradle, added the dependency to compile project('library')
Only mod is to remove plugins and tasks for signing and maven from ./library/build.gradle //apply plugin: 'maven' //apply plugin: 'signing' /signing { uploadArchives { def modifyPom(pom) { .. } /
- I start a map and adds my places and the clusters appears great.
- I zoom in to one cluster so I can see all markers going to there places, works great
- I zoom out and sees all markers going in its clusters again
- When zooming in on the first cluster the cluster counts down as its getting smaller and disappears but I don't see the markers this time.
Does it start to display those markers after a while?
Could you take a screengrab (if you're ok 4.4 K, it's easy)?
No they are gone.
Here is a screen dump series (running 4.3 on Samsung S3) https://drive.google.com/folderview?id=0B2u-SCom7QDnaTliSUl0ZlpwSEU&usp=sharing
That's no good - do you have a dataset I can play with? Failing that, the APK would be great.
It seems that I had some problem with my ClusterItem object that delegated position, hashcode and equal to my database object. I tried to reproduce it with the MyItem but failed. The good thing is that I got it up and running after removing delegation to hashcode and equal.(on my database id)
I got some cryptic error that I have ignored sense its among the other system logs I don't know if its is part of the problem or not. 01-12 23:43:22.180 2353-3188/? D/SSRMv2:Monitor﹕ SIOP:: AP = 360 (read only) 01-12 23:43:22.740 2353-2510/? I/InputReader﹕ Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.13697 ] when=545334941485000 01-12 23:43:22.740 2353-2509/? I/InputDispatcher﹕ Delivering touch to: action: 0x0 01-12 23:43:22.780 2353-2510/? I/InputReader﹕ Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=545334984121000 01-12 23:43:22.780 2353-2509/? I/InputDispatcher﹕ Delivering touch to: action: 0x1 01-12 23:43:22.785 2353-2689/? E/DatabaseUtils﹕ Writing exception to parcel java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:13140) at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2038) at com.android.providers.settings.SettingsProvider.callFromPackage(SettingsProvider.java:607) at android.content.ContentProvider$Transport.call(ContentProvider.java:279) at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:273) at android.os.Binder.execTransact(Binder.java:388) at dalvik.system.NativeStart.run(Native Method) 01-12 23:43:22.785 2353-2689/? W/ActivityManager﹕ Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
Thanks for this useful library
Cool! Not sure if you were, but best to make hashCode/equals as fast as possible - they're called fairly often by the clusterer.