mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.38k stars 1.32k forks source link

Move cameraBy* methods from MGLMapView to MGLMapCamera #7990

Open fabian-guerra opened 7 years ago

fabian-guerra commented 7 years ago

MGLMapView contains several camera related methods, to keep things a bit more modular, this methods should be moved to their own MGLMapCamera_Private.h file:

cameraByPanningWithTranslation:panGesture
cameraByZoomingToZoomLevel: aroundAnchorPoint:
cameraByRotatingToDirection:aroundAnchorPoint:
cameraByTiltingToPitch:
1ec5 commented 7 years ago

This refactoring was originally proposed in https://github.com/mapbox/mapbox-gl-native/pull/5584#discussion_r99929334.

stale[bot] commented 5 years ago

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.