Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Usage docs #40

Open
Querschlag opened this issue Jan 21, 2015 · 1 comment
Open

Update Usage docs #40

Querschlag opened this issue Jan 21, 2015 · 1 comment

Comments

@Querschlag
Copy link

I played with OCMapView a while ago and came back to use it in my new project.
The documentation set's you up really simple with comment like

"Just replace your MKMapView references with OCMapView. It automatically handles annotations and combines them to clusters for you without any other change of your code."

Though I struggled to begin with the actual clustering and it hits me again this time. It is important to add

- (void)mapView:(MKMapView *)aMapView regionDidChangeAnimated:(BOOL)animated {
    [self.mapView doClustering];
}

which is not mentioned in the docs.
You might consider adding this to get new users a better start with OCMapView.

@BotiKis
Copy link
Owner

BotiKis commented Jan 21, 2015

You are right, i should mention it in the notes!
Thanks for the feedback.

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

No branches or pull requests

2 participants