googlemaps-samples / googlemaps-samples/maps-sdk-for-ios-samples

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

Open
#125 1 comment 0 reactions 1 assignee View on GitHub

@arriolac is already working on this.

Since Feb 12, 2022.

triage me type: bug
Dominant language
Objective-C
Stars
353
Forks
201
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.