Skip to content

Update Usage docs #40

@Querschlag

Description

@Querschlag

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions