android-maps-utils icon indicating copy to clipboard operation
android-maps-utils copied to clipboard

Markers disappears after zoom in,out and in again

Open softstuff opened this issue 12 years ago • 5 comments

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) { .. } /

  1. I start a map and adds my places and the clusters appears great.
  2. I zoom in to one cluster so I can see all markers going to there places, works great
  3. I zoom out and sees all markers going in its clusters again
  4. 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.

softstuff avatar Jan 09 '14 00:01 softstuff

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)?

broady avatar Jan 10 '14 02:01 broady

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

softstuff avatar Jan 10 '14 20:01 softstuff

That's no good - do you have a dataset I can play with? Failing that, the APK would be great.

broady avatar Jan 12 '14 12:01 broady

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

softstuff avatar Jan 12 '14 23:01 softstuff

Cool! Not sure if you were, but best to make hashCode/equals as fast as possible - they're called fairly often by the clusterer.

broady avatar Jan 12 '14 23:01 broady