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

Frame drop when scrolling map by calling [projection pointForCoordinate:] in didChangeCameraPosition: delegate method #125

Open
ghost opened this issue Feb 12, 2022 · 1 comment
Assignees
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@ghost
Copy link

ghost commented Feb 12, 2022

Environment details

  1. GoogleMaps 6.0.1
  2. Xcode 13.1 & iPhone 12(iOS 15.0)

Code example

- (void)mapView:(GMSMapView *)mapView didChangeCameraPosition:(GMSCameraPosition *)position {
    // add this line then frame drop when scrolling
    [mapView.projection pointForCoordinate:position.target]; 
}

Thanks!

@ghost ghost added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Feb 12, 2022
@jpoehnelt
Copy link
Contributor

@Catbe Thank you for opening this issue. 🙏
Please check out these other resources that might be applicable:

This is an automated message, feel free to ignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants