Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Facing issues in customizing library #7

Open
ZoebHusainSheikh opened this issue Feb 6, 2015 · 2 comments
Open

Facing issues in customizing library #7

ZoebHusainSheikh opened this issue Feb 6, 2015 · 2 comments

Comments

@ZoebHusainSheikh
Copy link

I need to display 2/more pins as single pin if they are overlapping/touch each other.

This library has some hard coded value (magic number) which we are not sure how they are calculated (nothing has been defined in doc as well).

FYI: Our custom annotation size is 48*48.

Please let us know. We are referring to this method:

float TBCellSizeForZoomScale(MKZoomScale zoomScale)
{
    NSInteger zoomLevel = TBZoomScaleToZoomLevel(zoomScale);

    switch (zoomLevel) {
        case 13:
        case 14:
        case 15:
            return 64;
        case 16:
        case 17:
        case 18:
            return 32;
        case 19:
            return 16;

        default:
            return 88;
    }

editedclusterscreenshot

}

@praveenkumar1599
Copy link

Hi,
I am facing the same issue.
Have you found any fix for the same. If so please help me out

@ZoebHusainSheikh
Copy link
Author

Nope, I used GoogleMap(iOS) SDK in my last project, they have default handling for clustering, also added zip from previous project..may be I have changed something in those files..Good luck

TBCoordinateQuadTree.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants